- Elasticsearch Guide: other versions:
- Getting Started
- Setup Elasticsearch
- Breaking changes
- Breaking changes in 5.4
- Breaking changes in 5.3
- Breaking changes in 5.2
- Breaking changes in 5.1
- Breaking changes in 5.0
- Search and Query DSL changes
- Mapping changes
- Percolator changes
- Suggester changes
- Index APIs changes
- Document API changes
- Settings changes
- Allocation changes
- HTTP changes
- REST API changes
- CAT API changes
- Java API changes
- Packaging
- Plugin changes
- Filesystem related changes
- Path to data on disk
- Aggregation changes
- Script related 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
- Adjacency Matrix Aggregation
- Children Aggregation
- Date Histogram Aggregation
- Date Range Aggregation
- Diversified Sampler Aggregation
- Filter Aggregation
- Filters Aggregation
- Geo Distance Aggregation
- GeoHash grid Aggregation
- Global Aggregation
- Histogram Aggregation
- IP 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
- Matrix Aggregations
- Caching heavy aggregations
- Returning only aggregation results
- Aggregation Metadata
- Returning the type of the aggregation
- Metrics Aggregations
- Indices APIs
- Create Index
- Delete Index
- Get Index
- Indices Exists
- Open / Close Index API
- Shrink Index
- Rollover Index
- Put Mapping
- Get Mapping
- Get Field Mapping
- Types Exists
- Index Aliases
- Update Indices Settings
- Get Settings
- Analyze
- Index Templates
- Shadow replica indices
- Indices Stats
- Indices Segments
- Indices Recovery
- Indices Shard Stores
- Clear Cache
- Flush
- Refresh
- Force Merge
- cat APIs
- Cluster APIs
- Query DSL
- Mapping
- Analysis
- Anatomy of an analyzer
- Testing analyzers
- Analyzers
- Normalizers
- Tokenizers
- Token Filters
- Standard Token Filter
- ASCII Folding Token Filter
- Flatten Graph 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
- Word Delimiter Graph 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
- Synonym Graph Token Filter
- Compound Word Token Filters
- 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
- Fingerprint Token Filter
- Minhash Token Filter
- Character Filters
- Modules
- Index Modules
- Ingest Node
- Pipeline Definition
- Ingest APIs
- Accessing Data in Pipelines
- Handling Failures in Pipelines
- Processors
- Append Processor
- Convert Processor
- Date Processor
- Date Index Name Processor
- Fail Processor
- Foreach Processor
- Grok Processor
- Gsub Processor
- Join Processor
- JSON Processor
- KV Processor
- Lowercase Processor
- Remove Processor
- Rename Processor
- Script Processor
- Set Processor
- Split Processor
- Sort Processor
- Trim Processor
- Uppercase Processor
- Dot Expander Processor
- How To
- Testing
- Glossary of terms
- Release Notes
- 5.4.3 Release Notes
- 5.4.2 Release Notes
- 5.4.1 Release Notes
- 5.4.0 Release Notes
- 5.3.3 Release Notes
- 5.3.2 Release Notes
- 5.3.1 Release Notes
- 5.3.0 Release Notes
- 5.2.2 Release Notes
- 5.2.1 Release Notes
- 5.2.0 Release Notes
- 5.1.2 Release Notes
- 5.1.1 Release Notes
- 5.1.0 Release Notes
- 5.0.2 Release Notes
- 5.0.1 Release Notes
- 5.0.0 Combined Release Notes
- 5.0.0 GA Release Notes
- 5.0.0-rc1 Release Notes
- 5.0.0-beta1 Release Notes
- 5.0.0-alpha5 Release Notes
- 5.0.0-alpha4 Release Notes
- 5.0.0-alpha3 Release Notes
- 5.0.0-alpha2 Release Notes
- 5.0.0-alpha1 Release Notes
- 5.0.0-alpha1 Release Notes (Changes previously released in 2.x)
- Painless API Reference
WARNING: Version 5.4 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.
5.2.0 Release Notes
edit5.2.0 Release Notes
editAlso see Breaking changes in 5.2.
Breaking changes
edit- Core
-
- Add system call filter bootstrap check #21940
Breaking Java changes
editDeprecations
edit- Java API
-
- Deprecate and remove "minimumNumberShouldMatch" in BoolQueryBuilder #22403
- Shadow Replicas
New features
edit- Analysis
-
- Synonym Graph Support (LUCENE-6664) #21517
- Ingest
- Mapping
Enhancements
edit- Aggregations
- Allocation
- Analysis
-
- Expose FlattenGraphTokenFilter #22643
- CRUD
-
- Use correct block levels for TRA subclasses #22224
- Cluster
-
- Keep NodeConnectionsService in sync with current nodes in the cluster state #22509
- Add a generic way of checking version before serializing custom cluster object #22376 (issue: #22313)
- Add validation for supported index version on node join, restore, upgrade & open index #21830 (issue: #21670)
- Let ClusterStateObserver only hold onto state that’s needed for change detection #21631 (issue: #21568)
- Remove mutable status field from cluster state #21379
- Core
- Discovery
- Ingest
-
-
add
ignore_missing
flag to ingest plugins #22273 - Added ability to remove pipelines via wildcards (#22149) #22191 (issue: #22149)
- Enables the ability to inject serialized json fields into root of document #22179 (issue: #21898)
- compile ScriptProcessor inline scripts when creating ingest pipelines #21858 (issue: #21842)
-
add
- Internal
-
- Remove some more usages of ParseFieldMatcher #22398 (issues: #19552, #22130)
- Remove some more usages of ParseFieldMatcher #22395 (issues: #19552, #22130)
- Remove some ParseFieldMatcher usages #22389 (issues: #19552, #22130)
- Add infrastructure to manage network connections outside of Transport/TransportService #22194
- Replace strict parsing mode with response headers assertions #22130 (issues: #11859, #19552, #20993)
-
Start using
ObjectParser
for aggs. #22048 (issue: #22009) - Don’t output null source node in RecoveryFailedException #21963
- ClusterService should expose "applied" cluster states (i.e., remove ClusterStateStatus) #21817
- Java High Level REST Client
- Java REST Client
-
- Warn log deprecation warnings received from server #21895
- Logging
- Mapping
- Network
-
- Disable the Netty recycler #22452 (issues: #22189, #22360, #22406, #5904)
- Tell Netty not to be unsafe in transport client #22284
- Introduce a low level protocol handshake #22094
- Detach handshake from connect to node #22037
- Reduce number of connections per node depending on the nodes role #21849
- Add a connect timeout to the ConnectionProfile to allow per node connect timeouts #21847 (issue: #19719)
- Grant Netty permission to read system somaxconn #21840
- Remove connectToNodeLight and replace it with a connection profile #21799
- Packaging
- Plugin Discovery EC2
- Plugin Ingest GeoIp
- Plugin Lang Painless
- Plugins
- Query DSL
- Reindex API
- Scripting
- Search
-
- Move SearchTransportService and SearchPhaseController creation outside of TransportSearchAction constructor #21754
- Don’t carry ShardRouting around when not needed in AbstractSearchAsyncAction #21753
- ShardSearchRequest to take ShardId constructor argument rather than the whole ShardRouting #21750
- Use index uuid as key in the alias filter map rather than the index name #21749
- Settings
-
- Speed up filter and prefix settings operations #22249
- Snapshot/Restore
- Stats
- Task Manager
Bug fixes
edit- Aggregations
-
- Fix scaled_float numeric type in aggregations #22351 (issue: #22350)
- Allow terms aggregations on pure boolean scripts. #22201 (issue: #20941)
- Fix numeric terms aggregations with includes/excludes and minDocCount=0 #22141 (issue: #22140)
-
Fix
missing
on aggs onboolean
fields. #22135 (issue: #22009) - IP range masks exclude the maximum address of the range. #22018 (issue: #22005)
-
Fix
other_bucket
on thefilters
agg to be enabled if a key is set. #21994 (issue: #21951)
- Allocation
- Analysis
- CRUD
-
- Reject external versioning and explicit version numbers on create #21998
- Cluster
-
- IndicesService handles all exceptions during index deletion #22433
- Core
- Discovery
- Engine
-
- Close and flush refresh listeners on shard close #22342
- Exceptions
- Highlighting
-
- Fix FiltersFunctionScoreQuery highlighting #21827
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- Index creation and setting update may not return deprecation logging #22702
- Java API
- Java REST Client
- Mapping
-
-
The
_all
default mapper is not completely configured. #22236 - Fix MapperService.allEnabled(). #22227
-
Dynamic
date
fields should use theformat
that was used to detect it is a date. #22174 (issue: #9410) -
Sub-fields should not accept
include_in_all
parameter #21971 (issue: #21710) - Mappings: Fix get mapping when no indexes exist to not fail in response generation #21924 (issue: #21916)
-
The
- Nested Docs
-
- Fix bug in query builder rewrite that ignores the ignore_unmapped option #22456
- Network
-
-
Pass
forceExecution
flag to transport interceptor #22739 - Ensure new connections won’t be opened if transport is closed or closing #22589 (issue: #22554)
- Prevent open channel leaks if handshake times out or is interrupted #22554
- Execute low level handshake in #openConnection #22440
- Properly configure Netty 3 ClientBootstrap when using custom connection profile #22363 (issue: #22277)
- Handle connection close / reset events gracefully during handshake #22178
- Do not lose host information when pinging #21939 (issue: #21828)
- DiscoveryNode and TransportAddress should preserve host information #21828
-
Pass
- Packaging
- Percolator
- Plugin Analysis Stempel
- Plugin Lang Painless
- Plugin Mapper Attachment
-
- NPE is raised when defining a non existing type within attachments type #21848
- Plugin Repository Azure
- Query DSL
- REST
- Recovery
- Reindex API
-
- Fix reindex from remote clearing scroll #22525 (issue: #22514)
- Fix source filtering in reindex-from-remote #22514 (issue: #22507)
- Remove content type detection from reindex-from-remote #22504 (issue: #22329)
- Don’t close rest client from its callback #22061 (issue: #22027)
- Keep context during reindex’s retries #21941
- Scripting
- Search
-
- Improve concurrency of ShardCoreKeyMap. #22316
-
Make
-0
compare less than+0
consistently. #22173 (issue: #22167) - Fix boost_mode propagation when the function score query builder is rewritten #22172 (issue: #22138)
- FiltersAggregationBuilder: rewriting filter queries, the same way as in FilterAggregationBuilder #22076
- Fix cross_fields type on multi_match query with synonyms #21638 (issue: #21633)
- Search Templates
- Settings
- Snapshot/Restore
- Stats
- Term Vectors
Regressions
edit- Core
- Logging
- Search
Upgrades
editOn this page
Was this helpful?
Thank you for your feedback.