- Elasticsearch Guide: other versions:
- Getting Started
- Set up Elasticsearch
- Set up X-Pack
- Breaking changes
- Breaking changes in 5.5
- 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
- X-Pack APIs
- Info API
- Explore API
- Machine Learning APIs
- Close Jobs
- Create Datafeeds
- Create Jobs
- Delete Datafeeds
- Delete Jobs
- Delete Model Snapshots
- Flush Jobs
- Get Buckets
- Get Categories
- Get Datafeeds
- Get Datafeed Statistics
- Get Influencers
- Get Jobs
- Get Job Statistics
- Get Model Snapshots
- Get Records
- Open Jobs
- Post Data to Jobs
- Preview Datafeeds
- Revert Model Snapshots
- Start Datafeeds
- Stop Datafeeds
- Update Datafeeds
- Update Jobs
- Update Model Snapshots
- Security APIs
- Watcher APIs
- Definitions
- How To
- Testing
- Glossary of terms
- Release Notes
- 5.5.3 Release Notes
- 5.5.2 Release Notes
- 5.5.1 Release Notes
- 5.5.0 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)
WARNING: Version 5.5 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.1.1 Release Notes
edit5.1.1 Release Notes
editAlso see Breaking changes in 5.1.
Breaking changes
edit- Aliases
- REST
Breaking Java changes
editDeprecations
editNew features
edit- Analysis
- CAT API
- Query DSL
- Reindex API
Enhancements
edit- Aggregations
- Allocation
-
- Balance step in BalancedShardsAllocator for a single shard #21103
- Process more expensive allocation deciders last #20724 (issue: #12815)
- Separates decision making from decision application in BalancedShardsAllocator #20634
- Split allocator decision making from decision application #20431 (issue: #20347)
- Analysis
- CAT API
- Cache
- Cluster
-
- Cache successful shard deletion checks #21438
- Core
-
- Reduce memory pressure when sending large terms queries. #21776
- Install a security manager on startup #21716
- Log node ID on startup #21673
- Ensure source filtering automatons are only compiled once #20857 (issue: #20839)
- Improve scheduling fairness when batching cluster state changes with equal priority #20775 (issue: #20768)
- Do not log full bootstrap checks exception #19989
- Exceptions
- Geo
- Ingest
- Internal
-
-
Rename ClusterState#lookupPrototypeSafe to
lookupPrototype
and remove "unsafe" unused variant #21686 - ShardActiveResponseHandler shouldn’t hold to an entire cluster state #21470 (issue: #21394)
- Remove unused ClusterService dependency from SearchPhaseController #21421
- Remove special case in case no action filters are registered #21251
- Use TimveValue instead of long for CacheBuilder methods #20887
- Remove SearchContext#current and all it’s threadlocals #20778 (issue: #19341)
-
Rename ClusterState#lookupPrototypeSafe to
- Java REST Client
- Logging
- Mapping
-
- Create the QueryShardContext lazily in DocumentMapperParser. #21287
- Network
- Packaging
- Plugin Lang Painless
-
- Add Debug.explain to painless #21723 (issue: #20263)
- Implement the ?: operator in painless #21506
- In painless suggest a long constant if int won’t do #21415 (issue: #21313)
- Support decimal constants with trailing [dD] in painless #21412 (issue: #21116)
- Implement reading from null safe dereferences #21239
- Painless negative offsets #21080 (issue: #20870)
- Plugin Repository S3
-
- Make the default S3 buffer size depend on the available memory. #21299
- Plugins
- Query DSL
-
- Using ObjectParser in MatchAllQueryBuilder and IdsQueryBuilder #21273
-
Expose splitOnWhitespace in
Query String Query
#20965 (issue: #20841) - Throw error if query element doesn’t end with END_OBJECT #20528 (issue: #20515)
-
Remove
lowercase_expanded_terms
andlocale
from query-parser options. #20208 (issue: #9978)
- Reindex API
- Scripting
- Search
- Search Templates
-
- Add profile and explain parameters to template API #20451
- Snapshot/Restore
- Stats
- Task Manager
-
- Add search task descriptions #21740
- Tribe Node
Bug fixes
edit- Aggregations
- Allocation
- Analysis
-
- Can load non-PreBuiltTokenFilter in Analyze API #20396
- CAT API
- Cache
-
- Fix the request cache keys to not hold references to the SearchContext. #21284
- Circuit Breakers
- Cluster
- Core
-
- Add a StreamInput#readArraySize method that ensures sane array sizes #21697
- Use a buffer to do character to byte conversion in StreamOutput#writeString #21680 (issue: #21660)
- Fix ShardInfo#toString #21319
- Protect BytesStreamOutput against overflows of the current number of written bytes. #21174 (issue: #21159)
- Return target index name even if _rollover conditions are not met #21138
- .es_temp_file remains after system crash, causing it not to start again #21007 (issue: #20992)
- Dates
- Engine
- Highlighting
- Index APIs
- Index Templates
- Ingest
- Inner Hits
- Internal
-
- Rethrow ExecutionException from the loader to concurrent callers of Cache#computeIfAbsent #21549
- Restore thread’s original context before returning to the ThreadPool #21411
- Fix NPE in SearchContext.toString() #21069
- Source filtering should treat dots in field names as sub objects. #20736 (issue: #20719)
- Java API
-
- Transport client: Fix remove address to actually work #21743
- Add a HostFailureListener to notify client code if a node got disconnected #21709 (issue: #21424)
- Fix InternalSearchHit#hasSource to return the proper boolean value #21441 (issue: #21419)
- Null checked for source when calling sourceRef #21431 (issue: #19279)
- ClusterAdminClient.prepareDeletePipeline method should accept pipeline id to delete #21228
- Java REST Client
-
- Rest client: don’t reuse the same HttpAsyncResponseConsumer across multiple retries #21378
- Logging
- Mapping
- Network
- Packaging
- Plugin Lang Painless
- Plugin Mapper Attachment
-
- NPE is raised when defining a non existing type within attachments type #21848
- Query DSL
- REST
-
- Strict level parsing for indices stats #21577 (issue: #21024)
- The routing query string param is supported by mget but was missing from the rest spec #21357
- fix thread_pool_patterns path variable definition #21332
- ensure the XContentBuilder is always closed in RestBuilderListener #21124
- XContentBuilder: Avoid building self-referencing objects #20550 (issues: #19475, #20540)
- Reindex API
- Search
- Search Templates
- Settings
- Snapshot/Restore
-
- Fixes shard level snapshot metadata loading when index-N file is missing #21813
- Ensures cleanup of temporary index-* generational blobs during snapshotting #21469 (issue: #21462)
- Fixes get snapshot duplicates when asking for _all #21340 (issue: #21335)
- Keep snapshot restore state and routing table in sync (5.x backport) #21131 (issue: #20836)
- Task Manager
- Tribe Node
Upgrades
editOn this page
Was this helpful?
Thank you for your feedback.