IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
5.0.0-beta1 Release Notes
edit5.0.0-beta1 Release Notes
editAlso see Breaking changes in 5.0.
This is a beta 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-beta1 to any other version is not supported.
Breaking changes
editBreaking Java changes
editDeprecations
edit- Geo
- Scripting
New features
edit- Aliases
- Analysis
- Geo
- Plugin Discovery File
- Search
-
- Add the ability to disable the retrieval of the stored fields entirely #20026
- Suggesters
Enhancements
edit- Allocation
-
- Change DiskThresholdDecider’s behavior when factoring in leaving shards #20349
- Verify AllocationIDs in replication actions #20320
- Mark shard as stale on non-replicated write, not on node shutdown #20023 (issue: #18919)
- Add routing changes API to RoutingAllocation #19992
- Primary shard allocator observes limits in forcing allocation #19811 (issue: #19446)
- Use primary terms as authority to fail shards #19715
- Add recovery source to ShardRouting #19516
- Analysis
- Benchmark
-
- Add client-benchmark-noop-api-plugin to stress clients even more in benchmarks #20103
- CAT API
-
- Add health status parameter to cat indices API #20393
- Circuit Breakers
- Cluster
-
- Add clusterUUID to RestMainAction output #20503
- Core
- Engine
- Exceptions
-
- Improve startup exception #20083
- Index Templates
- Ingest
-
- Add "version" field to Pipelines #20343 (issue: #20171)
- Make it possible for Ingest Processors to access AnalysisRegistry #20233
- add ignore_missing option to convert,trim,lowercase,uppercase,grok,rename #20194 (issue: #19995)
- Add support for parameters to the script ingest processor #20136
- introduce the JSON Processor #20128 (issue: #20052)
- Allow rename processor to turn leaf fields into branch fields #20053 (issue: #19892)
- remove ability to set field value in script-processor configuration #19981
- Internal
-
- Remove poor-mans compression in InternalSearchHit and friends #20472
- Don’t register SearchTransportService handlers more than once #20468
- Unguice SearchModule #20456
- Deguice SearchService and friends #20423
- NodeStats classes to implement Writeable rather then Streamable #20327
- More info classes to implement Writeable rather than Streamable #20288 (issue: #20255)
- Internal: Split disk threshold monitoring from decider #20018
- Switching LockObtainFailedException over to ShardLockObtainFailedException #19991 (issue: #19978)
- update and delete by query requests to implement IndicesRequest.Replaceable #19961
- VersionFetchSubPhase should not use Versions#loadDocIdAndVersion #19944
- Java API
- Java REST Client
- Logging
-
- Ensure logging is initialized in CLI tools #20575
- Give useful error message if log config is missing #20493
- Complete Elasticsearch logger names #20457 (issue: #20326)
- Add node name to decider trace logging #20437 (issue: #20379)
- Logging shutdown hack #20389 (issue: #20304)
- Disable console logging #20387
- Skip loading of jansi from log4j2 #20334
- Configure AWS SDK logging configuration #20313 (issue: #20294)
- Warn if unsupported logging configuration present #20309
- Size limit deprecation logs #20287 (issues: #20235, #20254)
- Increase visibility of deprecation logger #20254 (issue: #11033)
- Add shardId and node name in search slow log #19949 (issue: #19735)
- Mapping
-
- Automatically downgrade text and keyword to string on indexes imported from 2.x #20177
-
Do not parse numbers as both strings and numbers when not included in
_all
. #20167 -
Don’t index the
_version
field #20132 -
The root object mapper should support updating
numeric_detection
,date_detection
anddynamic_date_formats
. #20119 (issue: #20111) -
Automatically upgrade analyzed string fields that have
index_options
orposition_increment_gap
set. #20002 (issue: #19974) - Mappings: Support dots in field names in mapping parsing #19899 (issue: #19443)
- Save one utf8 conversion in KeywordFieldMapper. #19867
- Do not parse the created version from the settings every time a field is parsed. #19824
- Network
- Packaging
- Plugin Lang Painless
- Plugin Repository S3
- Plugins
- Query DSL
- REST
-
- Add exclusion support to response filtering #19865
- Recovery
-
- Pass on maxUnsafeAutoIdTimestamp on recovery / relocation #20300
- Scripting
- Settings
- Snapshot/Restore
- Stats
- Suggesters
- Task Manager
-
- Rename Task Persistence into Storing Task Results #19982
- Translog
Bug fixes
edit- Aggregations
- Allocation
-
- Upon being elected as master, prefer joins' node info to existing cluster state #19743
- Analysis
-
- Can load non-PreBuiltTokenFilter in Analyze API #20396
- CRUD
- Cache
- Cluster
-
- Fixes issue with dangling index being deleted instead of re-imported #19666
- Discovery
- Engine
- Highlighting
- Index APIs
- Ingest
- Internal
- Java API
- Logging
- Mapping
- Network
- Packaging
-
- [Packaging] Do not remove scripts directory on upgrade #20452
- [Package] Remove bin/lib/modules directories on RPM uninstall/upgrade #20448
- RESTART_ON_UPGRADE incorrectly named ES_RESTART_ON_UPGRADE in sysconfig #19976 (issue: #19950)
- Fix handling of spaces for jvm.options on Windows #19951 (issue: #19941)
- Percolator
- Plugin Ingest Attachment
- Plugin Ingest GeoIp
-
- [ingest-geoip] update geoip to not include null-valued results from #20455
- Plugin Lang Painless
-
- Fix break bug in for/foreach loops. #20146
- Plugins
- Query DSL
- Recovery
-
- Fix concurrency issues between cancelling a relocation and marking shard as relocated #20443
- Reindex API
- Scripting
- Search
-
- Throw error when trying to fetch fields from source and source is disabled #20424 (issues: #20093, #20408)
-
Source filtering should keep working when the source contains numbers greater than
Long.MAX_VALUE
. #20278 (issue: #11508) -
Fix NPE when running a range query on a
scaled_float
with no upper bound. #20253 - Add ref-counting to SearchContext to prevent accessing already closed readers #20095 (issue: #20008)
- Fix NPE during search with source filtering if the source is disabled. #20093 (issue: #7758)
- Restore assignment of time value when deserializing a scroll instance #19977 (issue: #18820)
- Fix explain output for dfs query #19972 (issue: #15369)
- Settings
- Stats
- Translog