WARNING: Version 5.6 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
5.5.0 Release Notes
edit5.5.0 Release Notes
editSee Multi data path bug in Elasticsearch 5.3.0.
Also see Breaking changes in 5.5.
Breaking changes
edit- Plugins
- Settings
Breaking Java changes
edit- Aggregations
- Plugin Delete By Query
-
- Move DeleteByQuery and Reindex requests into core #24578
Deprecations
edit- Index APIs
- Packaging
- Plugin Repository S3
- REST
- Scripting
-
- Scripting: Deprecate native scripts #24692 (issue: #19966)
- Scripting: Deprecate index lookup #24691 (issue: #19359)
- Deprecate Fine Grain Settings for Scripts #24573 (issue: #24532)
- Scripting: Deprecate file script settings #24555 (issue: #21798)
- Scripting: Deprecate file scripts #24552 (issue: #21798)
- Settings
- Tribe Node
New features
editEnhancements
edit- Aggregations
-
- Add superset size to Significant Term REST response #24865
- Add document count to Matrix Stats aggregation response #24776
- Share XContent rendering code in significant terms aggregations #24677
-
Add
count
to rest output ofgeo_centroid
#24387 (issue: #24366) -
Allow scripted metric agg to access
_score
#24295
- Aliases
- Circuit Breakers
-
- Closing a ReleasableBytesStreamOutput closes the underlying BigArray #23941
- Cluster
- Core
- Engine
- Exceptions
-
- IllegalStateException: Only duplicated jar instead of classpath #24953
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- "shard started" should show index and shard ID #25157
- Add the ability to set eager_global_ordinals in the new parent-join field #25019
- Add assertions enabled helper #24834
-
Add cross cluster support to
_field_caps
#24463 (issue: #24334) - Log JVM arguments on startup #24451
- Preserve cluster alias throughout search execution to lookup nodes by cluster and ID #24438
- Move RemoteClusterService into TransportService #24424
- Enum related performance additions. #24274 (issue: #24226)
- Java API
- Java High Level REST Client
-
- Add doc_count to ParsedMatrixStats #24952 (issue: #24776)
- Add fromXContent method to ClearScrollResponse #24909
- ClearScrollRequest to implement ToXContentObject #24907
- SearchScrollRequest to implement ToXContentObject #24906 (issue: #3889)
- Backport aggs parsers for high level REST Client #24844 (issues: #22278, #22668, #23826, #23965, #23973, #23974, #24085, #24155, #24160, #24162, #24182, #24183, #24208, #24213, #24239, #24284, #24291, #24312, #24330, #24365, #24371, #24442, #24521, #24524, #24559, #24564, #24583, #24589, #24648, #24667, #24675, #24682, #24700, #24706, #24717, #24720, #24738, #24746, #24789, #24791, #24794, #24822, #24824)
- Add utility method to parse named XContent objects with typed prefix #24240 (issue: #22965)
- Logging
- Mapping
- Network
- Packaging
- Plugin Lang Painless
- Plugin Repository GCS
-
- GCS Repository: Add secure storage of credentials #24697
- Plugins
- REST
- Scripting
- Search
-
- Eliminate array access in tight loops when profiling is enabled. #24959
- Support Multiple Inner Hits on a Field Collapse Request #24517
- Expand cross-cluster search indices for search requests to the concrete index or to it’s aliases #24502
- Remove leniency when merging fetched hits in a search response phase #24158
- Search Templates
- Settings
-
- Emit settings deprecation logging at most once #25457
- Snapshot/Restore
-
- Improves snapshot logging and snapshot deletion error handling #25264
- Enhances get snapshots API to allow retrieving repository index only #24477 (issue: #24288)
- Ensure every repository has an incompatible-snapshots blob #24403 (issue: #22267)
- Change snapshot status error to use generic SnapshotException #24355 (issue: #24225)
- Stats
-
- Show JVM arguments #24450
- Suggesters
- Upgrade API
-
- Allow plugins to upgrade templates and index metadata on startup #24379
Bug fixes
edit- Aggregations
-
- Terms aggregation should remap global ordinal buckets when a sub-aggregator is used to sort the terms #24941 (issue: #24788)
- Correctly set doc_count when MovAvg "predicts" values on existing buckets #24892 (issue: #24327)
- InternalPercentilesBucket should not rely on ordered percents array #24336 (issue: #24331)
- Align behavior HDR percentiles iterator with percentile() method #24206
-
DateHistogram: Fix
extended_bounds
withoffset
#23789 (issue: #23776) - Fix ArrayIndexOutOfBoundsException when no ranges are specified in the query #23241 (issue: #22881)
- Aliases
- Allocation
- Analysis
-
-
PatternAnalyzer should lowercase wildcard queries when
lowercase
is true. #24967
-
PatternAnalyzer should lowercase wildcard queries when
- Bulk
- Cache
-
- fix bug of weight computation #24856
- Circuit Breakers
- Core
- Geo
- Highlighting
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- Fix race condition in RemoteClusterConnection node supplier #25432
- Initialise empty lists in BaseTaskResponse constructor #25290
- Extract a common base class for scroll executions #24979 (issue: #16555)
-
Ensure remote cluster is connected before fetching
_field_caps
#24845 (issue: #24763) - Obey lock order if working with store to get metadata snapshots #24787 (issue: #24481)
-
Remove
_UNRELEASED
from Version constants for released versions #24764 -
Fix
_field_caps
serialization in order to support cross-cluster search #24722 - Avoid race when shutting down controller processes #24579
- Fix NPE if field caps request has a field that exists not in all indices #24504
- More Like This
- Nested Docs
-
- In case of a single type the _id field should be added to the nested document instead of _uid field #25149
- Network
-
- Ensure pending transport handlers are invoked for all channel failures #25150
- Notify onConnectionClosed rather than onNodeDisconnect to prune transport handlers #24639 (issues: #24557, #24575, #24632)
- SniffNodesSampler should close connection after handling responses #24632 (issues: #22828, #24557, #24575)
- Packaging
- Percolator
- Plugin Lang Painless
- Plugins
-
- X-Pack plugin download fails on Windows desktop #24570
- Fix plugin installation permissions #24527 (issue: #24480)
- Fix delete of plugin directory on remove plugin #24266 (issue: #24252)
- Use a marker file when removing a plugin #24252 (issue: #24231)
- Remove hidden file leniency from plugin service #23982 (issue: #12465)
- Query DSL
- REST
- Recovery
- Reindex API
- Scroll
-
-
Fix single shard scroll within a cluster with nodes in version
>= 5.3
and<= 5.3
#24512
-
Fix single shard scroll within a cluster with nodes in version
- Search
-
- Adds check for negative search request size #25397 (issue: #22530)
- Do not search locally if remote index pattern resolves to no indices #25436 (issue: #25426)
- Make sure range queries are correctly profiled. #25108
- Compute the took time of the query after the expand phase of field collapsing #24902 (issue: #24900)
- Fix RangeFieldMapper rangeQuery to properly handle relations #24808 (issue: #24744)
- Fix ExpandSearchPhase when response contains no hits #24688 (issue: #24672)
-
Include all aliases including non-filtering in
_search_shards
response #24489 - Cross-cluster search: propagate original indices per cluster #24328
- Search Templates
- Settings
- Snapshot/Restore
-
- Output all empty snapshot info fields if in verbose mode #25455 (issue: #24477)
- Remove redundant and broken MD5 checksum from repository-s3 #25270 (issue: #25269)
- Consolidates the logic for cleaning up snapshots on master election #24894 (issue: #24605)
- Removes completed snapshot from cluster state on master change #24605 (issue: #24452)
- Fix inefficient (worst case exponential) loading of snapshot repository #24510 (issue: #24509)
- Fixes maintaining the shards a snapshot is waiting on #24289
- Stats
- Suggesters
- Task Manager