WARNING: Version 5.5 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.4.0 Release Notes
edit5.4.0 Release Notes
editSee Multi data path bug in Elasticsearch 5.3.0.
Also see Breaking changes in 5.4.
Breaking changes
editBreaking Java changes
edit- Aggregations
- Java API
-
- Fold InternalSearchHits and friends into their interfaces #23042
Deprecations
editNew features
edit- Analysis
- Index APIs
- Search
-
- Introduce incremental reduction of TopDocs #23946
- Similarities
Enhancements
edit- Aggregations
-
- Add BucketMetricValue interface #24188
- Move aggs CommonFields and TYPED_KEYS_DELIMITER from InternalAggregation to Aggregation #23987
- Use ParseField for aggs CommonFields rather than String #23717
- Share XContent rendering code in terms aggs #23680
- Add unit tests for ParentToChildAggregator #23305 (issue: #22278)
- First step towards incremental reduction of query responses #23253
- Allocation
- Analysis
-
- Support Keyword type in Analyze API #23161
- Cluster
-
- Prevent nodes from joining if newer indices exist in the cluster #23843
- Core
-
- Detect remnants of path.data/default.path.data bug #24099 (issues: #23981, #24052, #24074, #24093)
- Await termination after shutting down executors #23889
- Add early-access check #23743 (issue: #23668)
- Adapter action future should restore interrupts #23618 (issue: #23617)
- Disable bootstrap checks for single-node discovery #23598 (issues: #23585, #23595)
- Enable explicitly enforcing bootstrap checks #23585 (issue: #21864)
- Add equals/hashcode method to ReplicationResponse #23215
- Dates
-
- Improve error handling for epoch format parser with time zone (#22621) #23689
- Discovery
- Highlighting
- Index APIs
- Ingest
-
- Lazy load the geoip databases #23337
- Internal
-
- Add a dedicated TransportRemoteInfoAction for consistency #24040 (issue: #23969)
- Simplify sorted top docs merging in SearchPhaseController #23881
- Synchronized CollapseTopFieldDocs with lucenes relatives #23854
- Cleanup SearchPhaseController interface #23844
- Do not create String instances in Strings methods accepting StringBuilder #22907
- Java API
- Java High Level REST Client
-
- Convert suggestion response parsing to use NamedXContentRegistry #23355
- UpdateRequest implements ToXContent #23289
- Add javadoc for DocWriteResponse.Builders #23267
- Expose WriteRequest.RefreshPolicy string representation #23106
-
Use
typed_keys
parameter to prefix suggester names by type in search responses #23080 (issue: #22965) - Add parsing methods to BulkItemResponse #22859
- Logging
- Mapping
- Nested Docs
-
- Avoid adding unnecessary nested filters when ranges are used. #23427
- Network
- Packaging
- Percolator
- Plugin Discovery EC2
- Plugin Lang Painless
- Plugin Repository Azure
- Plugin Repository S3
- Plugins
- Query DSL
- REST
- Search
-
- Set shard count limit to unlimited #24012
- Streamline shard index availability in all SearchPhaseResults #23788
- Search took time should use a relative clock #23662
-
Prevent negative
from
parameter in SearchSourceBuilder #23358 (issue: #23324) - Remove unnecessary result sorting in SearchPhaseController #23321
-
Expose
batched_reduce_size
via_search
#23288 (issue: #23253) - Adding fromXContent to Suggest and Suggestion class #23226 (issue: #23202)
- Adding fromXContent to Suggestion.Entry and subclasses #23202
- Add CollapseSearchPhase as a successor for the FetchSearchPhase #23165
- Integrate IndexOrDocValuesQuery. #23119
- Detach SearchPhases from AbstractSearchAsyncAction #23118
- Fix GraphQuery expectation after Lucene upgrade to 6.5 #23117 (issue: #23102)
- Nested queries should avoid adding unnecessary filters when possible. #23079 (issue: #20797)
- Add xcontent parsing to completion suggestion option #23071
- Add xcontent parsing to suggestion options #23018
- Separate reduce (aggs, suggest and profile) from merging fetched hits #23017
- Settings
-
- Add secure file setting to keystore #24001
- Add a setting which specifies a list of setting #23883
- Add a property to mark setting as final #23872
-
Remove obsolete index setting
index.version.minimum_compatible
. #23593 - Provide a method to retrieve a closeable char[] from a SecureString #23389
- Update indices settings api to support CBOR and SMILE format #23309 (issues: #23242, #23245)
- Improve setting deprecation message #23156 (issue: #22849)
- Snapshot/Restore
- Stats
- Task Manager
Bug fixes
edit- Aggregations
-
- Align behavior HDR percentiles iterator with percentile() method #24206
-
The
filter
andsignificant_terms
aggregations should parse thefilter
as a filter, not a query. #23797 - Completion suggestion should also consider text if prefix/regex is missing #23451 (issue: #23340)
- Fixes the per term error in the terms aggregation #23399
- Fixes terms error count for multiple reduce phases #23291 (issue: #23286)
-
Restore support for the
include/pattern
syntax. #23140 (issue: #22933)
- Bulk
- CRUD
- Cluster
- Core
- Discovery
- Index APIs
- Ingest
- Inner Hits
- Internal
- Java High Level REST Client
-
- Correctly parse BulkItemResponse.Failure’s status #23432
- Java REST Client
- Mapping
-
- Preserve response headers when creating an index #23950 (issue: #23947)
- Improves disabled fielddata error message #23841 (issue: #22768)
- Switch include_in_all in multifield to warning #23656 (issues: #21971, #23654)
- Fix MapperService StackOverflowError #23605 (issue: #23604)
- Fix NPE with scaled floats stats when field is not indexed #23528 (issue: #23487)
- Network
- Packaging
- Percolator
- Plugin Ingest Attachment
- Plugin Lang Painless
- Plugin Repository Azure
- Plugin Repository S3
-
- Handle BlobPath’s trailing separator case. Add test cases to BlobPathTests.java #23091
- Plugins
- Query DSL
- REST
-
- [API] change wait_for_completion default according to docs #23672
- Deprecate request_cache for clear-cache #23638 (issue: #22748)
- HTTP transport stashes the ThreadContext instead of the RestController #23456
- Ensure we try to autodetect content type for handlers that support plain text #23452
- Fix date format in warning headers #23418 (issue: #23275)
- Align REST specs for HEAD requests #23313 (issue: #21125)
- Correct warning header to be compliant #23275 (issue: #22986)
- Fix get HEAD requests #23186 (issue: #21125)
- Fix search scroll request with a plain text body #23183 (issue: #22691)
- Handle bad HTTP requests #23153 (issue: #23034)
- Fix get source HEAD requests #23151 (issue: #21125)
- Properly encode location header #23133 (issues: #21057, #23115)
- Fix template HEAD requests #23130 (issue: #21125)
- Fix index HEAD requests #23112 (issue: #21125)
- Fix alias HEAD requests #23094 (issue: #21125)
- Recovery
- Reindex API
- Scripting
- Search
-
- Cross Cluster Search: propagate original indices per cluster #24328
- Query string default field #24214
-
Speed up parsing of large
terms
queries. #24210 - IndicesQueryCache should delegate the scorerSupplier method. #24209
- Fork LRUQueryCache from Lucene to work around LUCENE-7749 #24207
- Disable graph analysis at query time for shingle and cjk filters producing tokens of different size #23920 (issue: #23918)
- Fix cross-cluster remote node gateway attributes #23863
- Use a fixed seed for computing term hashCode in TermsSliceQuery #23795
- Honor max concurrent searches in multi-search #23538 (issue: #23527)
- Avoid stack overflow in multi-search #23527 (issue: #23523)
- Fix query_string_query to transform "foo:*" in an exists query on the field name #23433 (issue: #23356)
- Factor out filling of TopDocs in SearchPhaseController #23380 (issues: #19356, #23357)
- Replace blocking calls in ExpandCollapseSearchResponseListener by asynchronous requests #23053 (issue: #23048)
- Search Templates
- Settings
- Similarities
-
- Fix similarity upgrade when "default" similarity is overridden #23163
- Snapshot/Restore
- Stats
Regressions
editUpgrades
edit- Aggregations
- Core
- Logging
-
- Upgrade to Log4j 2.8.2 #23995
- Network
- Plugin Repository Azure