WARNING: Version 2.1 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.
2.1.0 Release Notes
edit2.1.0 Release Notes
editAlso see Breaking changes in 2.1 for important changes in this release.
Breaking changes
editDeprecations
edit- Java API
- Parent/Child
-
-
Deprecate
score_type
option in favour of thescore_mode
option #13478
-
Deprecate
- Query DSL
- Search
New features
edit- Aggregations
- Analysis
-
- Lithuanian analysis #13244
- Geo
Enhancements
edit- Allocation
- CAT API
- Core
-
- Verify Checksum once it has been fully written to fail as soon as possible #13896
- Exceptions
-
- Deduplicate cause if already contained in shard failures #14432
- Give a better exception when running from freebsd jail without enforce_statfs=1 #14135 (issue: #12018)
- Make root_cause of field conflicts more obvious #13976 (issue: #12839)
- Use a dedicated id to serialize EsExceptions instead of it’s class name. #13629
- Validate class before cast. #12913 (issue: #12842)
- Improve error message of ClassCastExceptions #12821 (issue: #12135)
- Geo
- Index APIs
- Index Templates
- Internal
-
- Fix dangling comma in ClusterBlock#toString #14483
- Improve some logging around master election and cluster state #14481
- Add workaround for JDK-8014008 #14274
- Cleanup IndexMetaData #14119
- More helpful error message on parameter order #13737
- Cleanup InternalClusterInfoService #13543
- Remove and forbid use of com.google.common.base.Throwables #13409 (issue: #13224)
- Remove cyclic dependencies between IndexService and FieldData / BitSet caches #13381
- Remove and forbid use of com.google.common.base.Objects #13355 (issue: #13224)
- Remove and forbid use of com.google.common.collect.ImmutableList #13227 (issue: #13224)
- Remove and forbid use of com.google.common.collect.Lists #13170
- Remove unused code from query_string parser and settings #13098
- Consolidate duplicate logic in RoutingTable all*ShardsGrouped #13082 (issue: #13081)
- Turn DestructiveOperations.java into a Guice module. #13046 (issue: #4665)
- Remove CachedDfSource #12973 (issue: #12864)
- Enable indy (invokedynamic) compile flag for Groovy scripts by default #8201 (issue: #8184)
- Java API
-
- Prevents users from building a BulkProcessor with a null client #12497
- Logging
- Packaging
-
- Drop ability to execute on Solaris #14200
- Nuke ES_CLASSPATH appending, JarHell fail on empty classpath elements #13880 (issues: #13812, #13864)
- improve seccomp syscall filtering #13829
- Block process execution with seccomp on linux/amd64 #13753
- Remove JAVA_HOME detection from the debian init script #13514 (issues: #13403, #9774)
- Plugin Cloud AWS
- Plugin Cloud GCE
- Plugin Discovery EC2
- Plugin Repository S3
- Plugins
-
- Don’t be lenient in PluginService#processModule(Module) #14306
- Adds a validation for plugins script to check if java is set #13633 (issue: #13613)
- Plugins: Removed plugin.types #13055
- Improve java version comparison and explicitly enforce a version format #13010 (issues: #12441, #13009)
- Output plugin info only in verbose mode #12908 (issue: #12907)
- Query DSL
-
- Internal: simplify filtered query conversion to lucene query #13312 (issue: #13272)
-
Remove unsupported
rewrite
from multi_match query builder #13073 (issue: #13069) -
Remove unsupported
rewrite
option from match query builder #13069 -
Make FunctionScore work on unmapped field with
missing
parameter #13060 (issue: #10948)
- Scripting
- Scroll
-
-
Optimize sorted scroll when sorting by
_doc
. #12983
-
Optimize sorted scroll when sorting by
- Search
- Search Templates
- Snapshot/Restore
- Stats
Bug fixes
edit- Aggregations
-
- Pass extended bounds into HistogramAggregator when creating an unmapped aggregator #14742 (issue: #14735)
- Added correct generic type parameter on ScriptedMetricBuilder #14018 (issue: #13986)
- Pipeline Aggregations at the root of the agg tree are now validated #13475 (issue: #13179)
- Estimate HyperLogLog bias via k-NN regression #13243
- Allocation
-
- Fix calculation of next delay for delayed shard allocation #14765
- Take ignored unallocated shards into account when making allocation decision #14678 (issue: #14670)
- Only allow rebalance operations to run if all shard store data is available #14591 (issue: #14387)
- Delayed allocation can miss a reroute #14494 (issues: #14010, #14011, #14445)
- Check rebalancing constraints when shards are moved from a node they can no longer remain on #14259 (issue: #14057)
- CAT API
-
- Properly set indices and indicesOptions on subrequest made by /_cat/indices #14360
- CRUD
- Cluster
- Core
-
- Use fresh index settings instead of relying on @IndexSettings #14578 (issue: #14319)
- Fork Lucene PatternTokenizer to apply LUCENE-6814 (closes #13721) #14571 (issue: #13721)
- Record all bytes of the checksum in VerifyingIndexOutput #13923 (issues: #13848, #13896)
- When shard becomes active again, immediately increase its indexing buffer #13918 (issue: #13802)
- Close TokenStream in finally clause #13870 (issue: #11947)
- LoggingRunnable.run should catch and log all errors, not just Exception? #13718 (issue: #13487)
- Exceptions
- Fielddata
-
- Don’t cache top level field data for fields that don’t exist #14693
- Geo
- Index APIs
- Index Templates
- Internal
-
-
fix
mvn verify
on jigsaw with 2.1 #14750 - fixup issues with 32-bit jvm #14609
- Failure to update the cluster state with the recovered state should make sure it will be recovered later #14485
- Gateway: a race condition can prevent the initial cluster state from being recovered #13997
- Verify actually written checksum in VerifyingIndexOutput #13848
- An inactive shard is activated by triggered synced flush #13802
-
fix
- Logging
- Mapping
- Packaging
- Parent/Child
-
- Remove unnecessary usage of extra index searchers #12864
- Plugin Delete By Query
- Plugins
- REST
- Search
-
- Fix the quotes in the explain message for a script score function without parameters #11398
- Settings
-
- ByteSizeValue.equals should normalize units #13784
- Snapshot/Restore
- Stats
- Translog
Regressions
editUpgrades
edit- Core
- Geo
- Internal
- Plugin Cloud AWS
- Plugin Discovery EC2
-
- Upgrade to aws 1.10.33 #14672