- Elasticsearch Guide: other versions:
- Getting Started
- Setup
- Breaking changes
- Breaking changes in 2.2
- Breaking changes in 2.1
- Breaking changes in 2.0
- Removed features
- Network changes
- Multiple
path.data
striping - Mapping changes
- CRUD and routing changes
- Query DSL changes
- Search changes
- Aggregation changes
- Parent/Child changes
- Scripting changes
- Index API changes
- Snapshot and Restore changes
- Plugin and packaging changes
- Setting changes
- Stats, info, and
cat
changes - Java API changes
- API Conventions
- Document APIs
- Search APIs
- Aggregations
- Metrics Aggregations
- Avg Aggregation
- Cardinality Aggregation
- Extended Stats Aggregation
- Geo Bounds Aggregation
- Geo Centroid Aggregation
- Max Aggregation
- Min Aggregation
- Percentiles Aggregation
- Percentile Ranks Aggregation
- Scripted Metric Aggregation
- Stats Aggregation
- Sum Aggregation
- Top hits Aggregation
- Value Count Aggregation
- Bucket Aggregations
- Children Aggregation
- Date Histogram Aggregation
- Date Range Aggregation
- Filter Aggregation
- Filters Aggregation
- Geo Distance Aggregation
- GeoHash grid Aggregation
- Global Aggregation
- Histogram Aggregation
- IPv4 Range Aggregation
- Missing Aggregation
- Nested Aggregation
- Range Aggregation
- Reverse nested Aggregation
- Sampler Aggregation
- Significant Terms Aggregation
- Terms Aggregation
- Pipeline Aggregations
- Avg Bucket Aggregation
- Derivative Aggregation
- Max Bucket Aggregation
- Min Bucket Aggregation
- Sum Bucket Aggregation
- Stats Bucket Aggregation
- Extended Stats Bucket Aggregation
- Percentiles Bucket Aggregation
- Moving Average Aggregation
- Cumulative Sum Aggregation
- Bucket Script Aggregation
- Bucket Selector Aggregation
- Serial Differencing Aggregation
- Caching heavy aggregations
- Returning only aggregation results
- Aggregation Metadata
- Metrics Aggregations
- Indices APIs
- Create Index
- Delete Index
- Get Index
- Indices Exists
- Open / Close Index API
- Put Mapping
- Get Mapping
- Get Field Mapping
- Types Exists
- Index Aliases
- Update Indices Settings
- Get Settings
- Analyze
- Index Templates
- Warmers
- Shadow replica indices
- Indices Stats
- Indices Segments
- Indices Recovery
- Indices Shard Stores
- Clear Cache
- Flush
- Refresh
- Force Merge
- Optimize
- Upgrade
- cat APIs
- Cluster APIs
- Query DSL
- Mapping
- Field datatypes
- Meta-Fields
- Mapping parameters
analyzer
boost
coerce
copy_to
doc_values
dynamic
enabled
fielddata
format
geohash
geohash_precision
geohash_prefix
ignore_above
ignore_malformed
include_in_all
index
index_options
lat_lon
fields
norms
null_value
position_increment_gap
precision_step
properties
search_analyzer
similarity
store
term_vector
- Dynamic Mapping
- Transform
- Analysis
- Analyzers
- Tokenizers
- Token Filters
- Standard Token Filter
- ASCII Folding Token Filter
- Length Token Filter
- Lowercase Token Filter
- Uppercase Token Filter
- NGram Token Filter
- Edge NGram Token Filter
- Porter Stem Token Filter
- Shingle Token Filter
- Stop Token Filter
- Word Delimiter Token Filter
- Stemmer Token Filter
- Stemmer Override Token Filter
- Keyword Marker Token Filter
- Keyword Repeat Token Filter
- KStem Token Filter
- Snowball Token Filter
- Phonetic Token Filter
- Synonym Token Filter
- Compound Word Token Filter
- Reverse Token Filter
- Elision Token Filter
- Truncate Token Filter
- Unique Token Filter
- Pattern Capture Token Filter
- Pattern Replace Token Filter
- Trim Token Filter
- Limit Token Count Token Filter
- Hunspell Token Filter
- Common Grams Token Filter
- Normalization Token Filter
- CJK Width Token Filter
- CJK Bigram Token Filter
- Delimited Payload Token Filter
- Keep Words Token Filter
- Keep Types Token Filter
- Classic Token Filter
- Apostrophe Token Filter
- Decimal Digit Token Filter
- Character Filters
- Modules
- Index Modules
- Testing
- Glossary of terms
- Release Notes
WARNING: Version 2.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.
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
Was this helpful?
Thank you for your feedback.