WARNING: Version 6.2 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.
Elasticsearch version 6.2.0
editElasticsearch version 6.2.0
editBreaking Changes
edit- Aggregations
- Core
-
- Forbid granting the all permission in production #27548
- Highlighting
- Rollover
- Search
Breaking Java Changes
editDeprecations
edit- Analysis
- Suggesters
New Features
edit- Plugin Ingest GeoIp
- Plugin Lang Painless
- Plugins
- Rank Evaluation
- Recovery
- Reindex API
Enhancements
edit- Allocation
- Analysis
- Circuit Breakers
- Cluster
- Core
-
- Introduce elasticsearch-core jar #28191 (issue: #27933)
- Rename core module to server #28190 (issue: #27933)
- Rename core module to server #28180 (issue: #27933)
- Introduce elasticsearch-core jar #28178 (issue: #27933)
- Add Writeable.Reader support to TransportResponseHandler #28010 (issue: #26315)
- Simplify rejected execution exception #27664 (issue: #27663)
- Add node name to thread pool executor name #27663 (issues: #26007, #26835)
- Discovery
- Engine
- Geo
- Highlighting
- Ingest
- Internal
- Java API
- Java High Level REST Client
-
- add toString implementation for UpdateRequest. #27997 (issue: #27986)
- Add Close Index API to the high level REST client #27734 (issue: #27205)
- Add Open Index API to the high level REST client #27574 (issue: #27205)
- Added Create Index support to high-level REST client #27351 (issue: #27205)
- Add multi get api to the high level rest client #27337 (issue: #27205)
- Add msearch api to high level client #27274
- Mapping
- Network
-
- Add NioGroup for use in different transports #27737 (issue: #27260)
- Add read timeouts to http module #27713
-
Implement byte array reusage in
NioTransport
#27696 (issue: #27563) - Introduce resizable inbound byte buffer #27551 (issue: #27563)
- Decouple nio constructs from the tcp transport #27484 (issue: #27260)
- Packaging
- Percolator
-
- also extract match_all queries when indexing percolator queries #27585
- Plugin Lang Painless
- Plugins
- Rank Evaluation
-
- Simplify RankEvalResponse output #28266
- Recovery
-
- Truncate tlog cli should assign global checkpoint #28192 (issue: #28181)
- Replica starts peer recovery with safe commit #28181 (issue: #10708)
- Primary send safe commit in file-based recovery #28038 (issue: #10708)
- Fail resync-failed shards in subsequent writes #28005
- Introduce promoting index shard state #28004 (issue: #24841)
- Non-peer recovery should set the global checkpoint #27965
- Persist global checkpoint when finalizing a peer recovery #27947 (issue: #27861)
- Rollback a primary before recovering from translog #27804 (issue: #10708)
- Search
- Sequence IDs
-
- Do not keep 5.x commits when having 6.x commits #28188 (issues: #27606, #28038)
- Use lastSyncedGlobalCheckpoint in deletion policy #27826 (issue: #27606)
- Use CountedBitSet in LocalCheckpointTracker #27793
- Only fsync global checkpoint if needed #27652
- Keep commits and translog up to the global checkpoint #27606
- Adjust CombinedDeletionPolicy for multiple commits #27456 (issues: #10708, #27367)
- Keeps index commits up to the current global checkpoint #27367 (issue: #10708)
- Dedup translog operations by reading in reverse #27268 (issue: #10708)
- Settings
-
- Add validation of keystore setting names #27626
- Snapshot/Restore
- Task Manager
- Translog
Bug Fixes
edit- Aggregations
-
- Adds metadata to rewritten aggregations #28185 (issue: #28170)
- Fix NPE on composite aggregation with sub-aggregations that need scores #28129
- StringTerms.Bucket.getKeyAsNumber detection type #28118 (issue: #28012)
- Fix incorrect results for aggregations nested under a nested aggregation #27946 (issue: #27912)
- Fix global aggregation that requires breadth first and scores #27942 (issues: #22321, #27928)
- Fix composite aggregation when after term is missing in the shard #27936
- Fix preserving FiltersAggregationBuilder#keyed field on rewrite #27900 (issue: #27841)
- Using DocValueFormat::parseBytesRef for parsing missing value parameter #27855 (issue: #27788)
-
Fix illegal cast of the "low cardinality" optimization of the
terms
aggregation. #27543 - Always include the _index and _id for nested search hits. #27201 (issue: #27053)
- Allocation
-
- Do not open indices with broken settings #26995
- Core
-
- Fix lock accounting in releasable lock #28202
- Fixes ByteSizeValue to serialise correctly #27702 (issue: #27568)
- Do not set data paths on no local storage required #27587 (issue: #27572)
- Ensure threadcontext is preserved when refresh listeners are invoked #27565
- Ensure logging is configured for CLI commands #27523 (issue: #27521)
- Engine
- Geo
- Highlighting
-
- Fix highlighting on a keyword field that defines a normalizer #27604
- Inner Hits
- Internal
- Java REST Client
- Mapping
- Network
-
- Only bind loopback addresses when binding to local #28029 (issue: #1877)
- Remove potential nio selector leak #27825
- Fix issue where the incorrect buffers are written #27695 (issue: #27551)
- Throw UOE from compressible bytes stream reset #27564 (issue: #24927)
- Bubble exceptions when closing compressible streams #27542 (issue: #27540)
- Packaging
- Percolator
- Plugin Analysis ICU
-
- Catch InvalidPathException in IcuCollationTokenFilterFactory #27202
- Plugin Analysis Phonetic
- Plugin Lang Painless
- Plugin Repository HDFS
-
- Fix SecurityException when HDFS Repository used against HA Namenodes #27196
- Plugins
- Recovery
-
- Open engine should keep only starting commit #28228 (issues: #27804, #28181)
- Allow shrinking of indices from a previous major #28076 (issue: #28061)
- Set global checkpoint before open engine from store #27972 (issues: #27965, #27970)
- Check and repair index under the store metadata lock #27768 (issues: #24481, #24787, #27731)
- Flush old indices on primary promotion and relocation #27580 (issue: #27536)
- Rollover
- Scripting
-
- Ensure we protect Collections obtained from scripts from self-referencing #28335
- Scroll
- Search
-
- Fix simple_query_string on invalid input #28219 (issue: #28204)
- Use the underlying connection version for CCS connections #28093
- Fix synonym phrase query expansion for cross_fields parsing #28045
- Carry forward weights, etc on rescore rewrite #27981 (issue: #27979)
- Fix routing with leading or trailing whitespace #27712 (issue: #27708)
- Sequence IDs
- Settings
-
- Settings: Introduce settings updater for a list of settings #28338 (issue: #28047)
- Fix setting notification for complex setting (affixMap settings) that could cause transient settings to be ignored #28317 (issue: #28316)
- Fix environment variable substitutions in list setting #28106 (issue: #27926)
- Allow index settings to be reset by wildcards #27671 (issue: #27537)
- Snapshot/Restore
-
- Consistent updates of IndexShardSnapshotStatus #28130 (issue: #26480)
- Avoid concurrent snapshot finalizations when deleting an INIT snapshot #28078 (issues: #27214, #27931, #27974)
- Do not start snapshots that are deleted during initialization #27931
- Do not swallow exception in ChecksumBlobStoreFormat.writeAtomic() #27597
- Consistent update of stage and failure message in IndexShardSnapshotStatus #27557 (issue: #26480)
- Fail restore when the shard allocations max retries count is reached #27493 (issue: #26865)
- Delete shard store files before restoring a snapshot #27476 (issues: #20220, #26865)
- Stats
- Term Vectors