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.0.0-alpha4 Release Notes
edit5.0.0-alpha4 Release Notes
editAlso see Breaking changes in 5.0.
This is an alpha release and is intended for testing purposes only. Indices created in this version will not be compatible with Elasticsearch 5.0.0 GA. Upgrading 5.0.0-alpha4 to any other version is not supported.
Breaking changes
edit- Aggregations
- CRUD
- Core
- Inner Hits
- Mapping
- Packaging
- Search
- Settings
-
- Rename boostrap.mlockall to bootstrap.memory_lock #18669
- Snapshot/Restore
Breaking Java changes
edit- Core
- Highlighting
-
- Register Highlighter instances instead of classes #18859
- Internal
- Java API
- Plugins
- Scripting
New features
edit- Aggregations
- Index APIs
- Java REST Client
- Mapping
-
- Expose half-floats. #18887
- Scroll
- Store
Enhancements
edit- Aggregations
-
- Automatically set the collection mode to breadth_first in the terms aggregation when the cardinality of the field is unknown or smaller than the requested size. #18779 (issue: #9825)
- Rename PipelineAggregatorBuilder to PipelineAggregationBuilder. #18677 (issue: #18377)
- AggregatorBuilder and PipelineAggregatorBuilder do not need generics. #18368 (issue: #18133)
- Allocation
-
-
Allow
_shrink
to N shards if source shards is a multiple of N #18699 - Only filter intial recovery (post API) when shrinking an index #18661
- Estimate shard size for shrinked indices #18659
- Only fail relocation target shard if failing source shard is a primary #18574 (issue: #16144)
- Simplify delayed shard allocation #18351 (issue: #18293)
-
Allow
- Analysis
- Cache
- Cluster
- Core
- Dates
- Expressions
-
- improve date api for expressions/painless fields #18658
- Index APIs
-
- Add Shrink request source parser to parse create index request body #18802
- Index Templates
- Ingest
- Internal
- Java API
-
- Switch QueryBuilders to new MatchPhraseQueryBuilder #18753
- Logging
-
- Throw IllegalStateException when handshake fails due to version or cluster mismatch #18676
- Mapping
- Network
- Packaging
- Percolator
- Plugin Lang Painless
-
- Painless Initializers #19012
- Add augmentation #19003
- Infer lambda arguments/return type #18983
- Fix explicit casts and improve tests. #18958
- Add lambda captures #18954
- improve Debugger to print code even if it hits exception #18932 (issue: #1)
- Move semicolon hack into lexer #18931
- Add flag support to regexes #18927
- improve lambda syntax (allow single expression) #18924
- Remove useless dropArguments in megamorphic cache #18913
- non-capturing lambda support #18911 (issue: #18824)
- fix bugs in operators and more improvements for the dynamic case #18899
- improve unary operators and cleanup tests #18867 (issue: #18849)
- Add support for the find operator (=~) and the match operator (==~) #18858
- Remove casts and boxing for dynamic math #18849 (issue: #18847)
- Refactor def math #18847
- Add support for /regex/ #18842
- Array constructor references #18831
- Method references to user functions #18828
- Add } as a delimiter. #18827 (issue: #18821)
- Add Lambda Stub Node #18824
- Add capturing method references #18818 (issue: #18748)
- Add Functions to Painless #18810
- Add Method to Get New MethodWriters #18771
- Static For Each #18757
- Method reference support #18748 (issue: #18578)
- Add support for the new Java 9 MethodHandles#arrayLength() factory #18734
- Improve painless compile-time exceptions #18711 (issue: #18600)
- add java.time packages to painless whitelist #18621
- Add Function Reference Stub to Painless #18578
- Plugins
- Query DSL
- REST
- Recovery
- Reindex API
- Scripting
- Scroll
-
- Add an index setting to limit the maximum number of slices allowed in a scroll request. #18782
- Search
- Sequence IDs
- Settings
- Snapshot/Restore
- Stats
- Task Manager
- Translog
Bug fixes
edit- Allocation
- CAT API
-
- Fix merge stats rendering in RestIndicesAction #18720
- CRUD
-
- Squash a race condition in RefreshListeners #18806
- Circuit Breakers
- Cluster
- Core
- Dates
- Expressions
-
- replace ScriptException with a better one #18600
- Ingest
-
- Fix ignore_failure behavior in _simulate?verbose and more cleanup #18987
- Internal
- Mapping
- Packaging
-
- Remove extra bin/ directory in bin folder #18630
- Plugin Lang Painless
- Query DSL
- REST
- Reindex API
- Search
- Settings
-
- Register "cloud.node.auto_attributes" setting in EC2 discovery plugin #18678
- Snapshot/Restore
- Stats
-
- Fix sync flush total shards statistics #18766
- Translog
Upgrades
edit- Core
- Dates
- Packaging
- Plugin Discovery EC2