See issues on GitHub
Breaking changes
- Benchmark:
- Benchmark api: removed leftovers #10180
- Highlighting:
- Network:
- Remove unsafe options #10360
- Snapshot/Restore:
Deprecations
- CRUD:
- Java API:
- More Like This:
- Rivers:
- Network:
- Parent/Child:
- Plugins:
- Scripting:
- Search:
- Suggesters:
New features
- Logging:
- Mapping:
- REST:
- Recovery:
- Scripting:
- Search:
- Settings:
- Shadow Replicas:
- Stats:
- Add field stats api #10523
Enhancements
- Allocation:
- Analysis:
- CAT API:
- Cluster:
- Core:
- Add node setting to send SegmentInfos debug output to System.out #11546
- Reduce shard inactivity timeout to 5m #11479 (issues: #11179, #11336)
- Fail shard if search execution uncovers corruption #11440 (issue: #11419)
- Acquire IndexWriter's
write.lock
lock before shard deletion #11127 (issue: #11097) - Refactor TransportShardReplicationOperationAction #10749 (issue: #10032)
- Make getFileStore a bit more defensive #10696
- Ref count write operations on IndexShard #10610
- Refresh if many deletes in a row use up too much version map RAM #10312 (issue: #7052)
- Discovery:
- Engine:
- Remove reflection call to waitForMerges #10102
- Geo:
- Index APIs:
- Indexed Scripts/Templates:
- Internal:
- Removed generic types from ContextAndHeaderHolder and HasHeaders#putHeader() #11231
- Wait forever (or one day) for indices to close #10833 (issue: #10680)
- Don't create a new BigArrays instance for every call of
withCircuitBreaking
#10800 (issue: #10798) - Change BigArrays to not extend AbstractComponent #10798
- CommitStats doesn't need to allow for null values in commit user data #10774 (issue: #10687)
- Add
fairness
option to KeyedLock. #10703 - Fix string comparisons #10204
- Remove unsafe field in BytesStreamInput #10157
- Fix errors reported by error-prone #9817
- Reduce the size of the search thread pool. #9165 (issue: #9135)
- Java API:
- Logging:
- Display low disk watermark to be consistent with documentation #11313 (issue: #10588)
- Add index name to log statements when settings update fails #11124
- Add logging of slow cluster state tasks #10907 (issue: #10874)
- Log sending translog operation batches to nodes #10544
- Log only a summary line of filesystem detail for all path.data on node startup #10527 (issue: #10502)
- Add INFO logging saying whether each path.data is on an SSD #10502
- Use static logger name in Engine.java #10497
- Miscellaneous additional logging and cleanups #10376
- Change logging to warning to match pattern #9593
- Reduce apache (cloud-aws) logging when rootLogger is DEBUG #8856
- Network:
- Default value for socket reuse should not be null #11255
- Make Netty exceptionCaught method protected #10464
- Remove content thread safe from REST layer #10429
- Add getter for channel in NettyTransportChannel #10319
- Schedule transport ping interval #10189
- Return useful error message on potential HTTP connect to Transport port #10108 (issue: #2139)
- Packaging:
- Export hostname as environment variable for plugin manager #11399 (issues: #10902, #9474)
- Exclude jackson-databind dependency #10924
- Add common SystemD file for RPM/DEB package #10725
- Standardization of packages structure and install #10595 (issue: #10330)
- Add properties files to configure startup and installation scripts #10330
- service.bat file should explicitly use the Windows find command. #9532
- Export the hostname as environment variable #9474 (issue: #8470)
- Plugins:
- Query DSL:
- REST:
- Recovery:
- Scripting:
- Search:
- Settings:
- Shadow Replicas:
- Snapshot/Restore:
- Add support for applying setting filters when displaying repository settings (Backport to 1.6) #11431 (issue: #11265)
- Check that reading indices is allowed before creating their snapshots #11133
- Don't throw an exception if repositories are unregistered with
*
#11113 - Improve the error message when attempting to snapshot a closed index #10608 (issue: #10579)
- AbstractBlobContainer.deleteByPrefix() should not list all blobs #10366 (issue: #10344)
- Batching of snapshot state updates #10295
- Expand wildcards in snapshot #9903 (issue: #6097)
- Stats:
- Add CommitStats to supply information about the current commit point #10687
- Store:
- Consolidate directory lock obtain code #11390
- Suggesters:
- Translog:
- Upgrade:
- Upgrade API:
Bug fixes
- Aggregations:
- Allow aggregations_binary to build and parse #11473 (issue: #11457)
- Fix geo bounds aggregation when longitude is 0 #11090 (issue: #11085)
- Fixes Infinite values return from geo_bounds with non-zero bucket-ordinals #10917 (issue: #10804)
- Fix
_as_string
output to only show when format specified #10571 (issue: #10284)
- Allocation:
- Analysis:
- Bulk:
- Allow null values in the bulk action/metadata line parameters #11459 (issue: #11458)
- Throw exception if unrecognized parameter in bulk action/metadata line #11331 (issue: #10977)
_default_
mapping should be picked up from index template during auto create index from bulk API #10762 (issue: #10609)- Removed duplicate timeout param #10205
- CAT API:
- CRUD:
- Cache:
- Cluster:
- ClusterHealth shouldn't fail with "unexpected failure" if master steps down while waiting for events #11493
- Core:
- Improve exception message when shard has a partial commit (segments_N file) due to prior disk full #11539 (issue: #11249)
- Use System.nanoTime for elapsed time #11058
- Lucene merges should run on the target shard during recovery #10463 (issue: #9226)
- Increase default rate limiting for snapshot, restore and recovery to 40 MB/sec #10185 (issue: #6018)
- Dates:
- Engine:
- Geo:
- Highlighting:
- Index APIs:
- Indexed Scripts/Templates:
- Inner Hits:
- Fix multi level parent/child bug #11199
- Make sure size=0 works on the inner_hits level. #10388 (issue: #10358)
- Make sure inner hits also works for nested fields defined in object field #10353 (issue: #10334)
- Fix bug where parse error is thrown if a inner filter is used in a nested filter/query. #10309 (issue: #10308)
- Fix nested stored field support. #10235 (issue: #9766)
- Internal:
- Make JNA optional for tests and move classes to bootstrap package #11378 (issue: #11360)
- Fix CompressedString.equals. #11233
- ThreadPool: make sure no leaking threads are left behind in case of initialization failure #11061 (issue: #9107)
- Propagate headers & contexts to sub-requests #11060 (issue: #10979)
- Fix NPE in PendingDelete#toString #11032
- Search: FielddataTermsFilter equality is based on hash codes #10728
- Ensure that explanation descriptions are not null on serialization #10689 (issue: #10399)
- Fix possible NPE in InternalClusterService$NotifyTimeout, the
future
field is set from a different thread #10630 (issue: #3) - Allow ActionListener to be called on the network thread #10573 (issue: #10402)
- Add missing hashCode method to RecoveryState#File #10501
- Don't try to send a mapping refresh if there is no master #10311 (issue: #10283)
- Close all resources if doStart fails #9898
- Java API:
- Logging:
- Mapping:
numeric_resolution
should only apply to dates provided as numbers. #11002 (issue: #10995)- Unneccesary mapping refreshes caused by unordered fielddata settings #10370 (issue: #10318)
- Fixed an equality check in StringFieldMapper. #10359 (issue: #10357)
- Fix
_field_names
to be disabled on pre 1.3.0 indexes #10268 (issue: #9893) - Fix
ignore_malformed
behaviour for ip fields #10112 - Update dynamic fields in mapping on master even if parsing fails for the rest of the doc #9874 (issue: #9851)
- Network:
- Parent/Child:
- Percolator:
- Plugins:
- Query DSL:
- REST:
- Recovery:
- Don't write recoveryType twice #11347 (issues: #11179, #11335)
- Decrement reference even if IndexShard#postRecovery barfs #11201
- Fail recovery if retry recovery if resetRecovery fails #11149
- Refactor state format to use incremental state IDs #10316
- RecoveryState.File.toXContent reports file length as recovered bytes #10310
- Fail shard when index service/mappings fails to instantiate #10283
- Scripting:
- Search:
- Search Templates:
- Settings:
- Snapshot/Restore:
- Sync up snapshot shard status on a master restart #11450 (issue: #11314)
- Fix check for locations in a repository path #11426
- Don't reuse source index UUID on restore #10367
- Separate repository registration #10354 (issue: #10351)
- Automatically add "index." prefix to the settings are changed on restore if the prefix is missing #10269 (issue: #10133)
- Store:
- Fix stream version check in ShardActiveRequest #11407
- Ensure we mark store as corrupted if we fail to read the segments info #11230 (issue: #11226)
- Fix NPE when checking for active shards before deletion #11110 (issue: #10172)
- Shard not deleted after relocation if relocated shard is still in post recovery #10172 (issue: #10018)
- Suggesters:
- Ensure empty string completion inputs are not indexed #11158 (issue: #10987)
- Ensure collate option in PhraseSuggester only collates on local shard #11156 (issue: #9377)
- Make GeoContext mapping idempotent #10602 (issues: #10581, #8937)
- Return an HTTP error code when a suggest request failed instead of 200 #10104
- Term Vectors:
- ShardTermVectorsService calls docFreq() on unpositioned TermsEnum #10660
- Translog:
- Upgrade API: