- 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.5.0 Release Notes
edit5.5.0 Release Notes
editSee Multi data path bug in Elasticsearch 5.3.0.
Also see Breaking changes in 5.5.
Breaking changes
edit- Plugins
- Settings
Breaking Java changes
edit- Aggregations
- Plugin Delete By Query
-
- Move DeleteByQuery and Reindex requests into core #24578
Deprecations
edit- Index APIs
- Packaging
- Plugin Repository S3
- REST
- Scripting
-
- Scripting: Deprecate native scripts #24692 (issue: #19966)
- Scripting: Deprecate index lookup #24691 (issue: #19359)
- Deprecate Fine Grain Settings for Scripts #24573 (issue: #24532)
- Scripting: Deprecate file script settings #24555 (issue: #21798)
- Scripting: Deprecate file scripts #24552 (issue: #21798)
- Settings
- Tribe Node
New features
editEnhancements
edit- Aggregations
-
- Add superset size to Significant Term REST response #24865
- Add document count to Matrix Stats aggregation response #24776
- Share XContent rendering code in significant terms aggregations #24677
-
Add
count
to rest output ofgeo_centroid
#24387 (issue: #24366) -
Allow scripted metric agg to access
_score
#24295
- Aliases
- Circuit Breakers
-
- Closing a ReleasableBytesStreamOutput closes the underlying BigArray #23941
- Cluster
- Core
- Engine
- Exceptions
-
- IllegalStateException: Only duplicated jar instead of classpath #24953
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- "shard started" should show index and shard ID #25157
- Add the ability to set eager_global_ordinals in the new parent-join field #25019
- Add assertions enabled helper #24834
-
Add cross cluster support to
_field_caps
#24463 (issue: #24334) - Log JVM arguments on startup #24451
- Preserve cluster alias throughout search execution to lookup nodes by cluster and ID #24438
- Move RemoteClusterService into TransportService #24424
- Enum related performance additions. #24274 (issue: #24226)
- Java API
- Java High Level REST Client
-
- Add doc_count to ParsedMatrixStats #24952 (issue: #24776)
- Add fromXContent method to ClearScrollResponse #24909
- ClearScrollRequest to implement ToXContentObject #24907
- SearchScrollRequest to implement ToXContentObject #24906 (issue: #3889)
- Backport aggs parsers for high level REST Client #24844 (issues: #22278, #22668, #23826, #23965, #23973, #23974, #24085, #24155, #24160, #24162, #24182, #24183, #24208, #24213, #24239, #24284, #24291, #24312, #24330, #24365, #24371, #24442, #24521, #24524, #24559, #24564, #24583, #24589, #24648, #24667, #24675, #24682, #24700, #24706, #24717, #24720, #24738, #24746, #24789, #24791, #24794, #24822, #24824)
- Add utility method to parse named XContent objects with typed prefix #24240 (issue: #22965)
- Logging
- Mapping
- Network
- Packaging
- Plugin Lang Painless
- Plugin Repository GCS
-
- GCS Repository: Add secure storage of credentials #24697
- Plugins
- REST
- Scripting
- Search
-
- Eliminate array access in tight loops when profiling is enabled. #24959
- Support Multiple Inner Hits on a Field Collapse Request #24517
- Expand cross cluster search indices for search requests to the concrete index or to it’s aliases #24502
- Remove leniency when merging fetched hits in a search response phase #24158
- Search Templates
- Settings
-
- Emit settings deprecation logging at most once #25457
- Snapshot/Restore
-
- Improves snapshot logging and snapshot deletion error handling #25264
- Enhances get snapshots API to allow retrieving repository index only #24477 (issue: #24288)
- Ensure every repository has an incompatible-snapshots blob #24403 (issue: #22267)
- Change snapshot status error to use generic SnapshotException #24355 (issue: #24225)
- Stats
-
- Show JVM arguments #24450
- Suggesters
- Upgrade API
-
- Allow plugins to upgrade templates and index metadata on startup #24379
Bug fixes
edit- Aggregations
-
- Terms aggregation should remap global ordinal buckets when a sub-aggregator is used to sort the terms #24941 (issue: #24788)
- Correctly set doc_count when MovAvg "predicts" values on existing buckets #24892 (issue: #24327)
- InternalPercentilesBucket should not rely on ordered percents array #24336 (issue: #24331)
- Align behavior HDR percentiles iterator with percentile() method #24206
-
DateHistogram: Fix
extended_bounds
withoffset
#23789 (issue: #23776) - Fix ArrayIndexOutOfBoundsException when no ranges are specified in the query #23241 (issue: #22881)
- Aliases
- Allocation
- Analysis
-
-
PatternAnalyzer should lowercase wildcard queries when
lowercase
is true. #24967
-
PatternAnalyzer should lowercase wildcard queries when
- Bulk
- Cache
-
- fix bug of weight computation #24856
- Circuit Breakers
- Core
- Geo
- Highlighting
- Index APIs
- Ingest
- Inner Hits
- Internal
-
- Fix race condition in RemoteClusterConnection node supplier #25432
- Initialise empty lists in BaseTaskResponse constructor #25290
- Extract a common base class for scroll executions #24979 (issue: #16555)
-
Ensure remote cluster is connected before fetching
_field_caps
#24845 (issue: #24763) - Obey lock order if working with store to get metadata snapshots #24787 (issue: #24481)
-
Remove
_UNRELEASED
from Version constants for released versions #24764 -
Fix
_field_caps
serialization in order to support cross cluster search #24722 - Avoid race when shutting down controller processes #24579
- Fix NPE if field caps request has a field that exists not in all indices #24504
- More Like This
- Nested Docs
-
- In case of a single type the _id field should be added to the nested document instead of _uid field #25149
- Network
-
- Ensure pending transport handlers are invoked for all channel failures #25150
- Notify onConnectionClosed rather than onNodeDisconnect to prune transport handlers #24639 (issues: #24557, #24575, #24632)
- SniffNodesSampler should close connection after handling responses #24632 (issues: #22828, #24557, #24575)
- Packaging
- Percolator
- Plugin Lang Painless
- Plugins
-
- X-Pack plugin download fails on Windows desktop #24570
- Fix plugin installation permissions #24527 (issue: #24480)
- Fix delete of plugin directory on remove plugin #24266 (issue: #24252)
- Use a marker file when removing a plugin #24252 (issue: #24231)
- Remove hidden file leniency from plugin service #23982 (issue: #12465)
- Query DSL
- REST
- Recovery
- Reindex API
- Scroll
-
-
Fix single shard scroll within a cluster with nodes in version
>= 5.3
and<= 5.3
#24512
-
Fix single shard scroll within a cluster with nodes in version
- Search
-
- Adds check for negative search request size #25397 (issue: #22530)
- Do not search locally if remote index pattern resolves to no indices #25436 (issue: #25426)
- Make sure range queries are correctly profiled. #25108
- Compute the took time of the query after the expand phase of field collapsing #24902 (issue: #24900)
- Fix RangeFieldMapper rangeQuery to properly handle relations #24808 (issue: #24744)
- Fix ExpandSearchPhase when response contains no hits #24688 (issue: #24672)
-
Include all aliases including non-filtering in
_search_shards
response #24489 - Cross Cluster Search: propagate original indices per cluster #24328
- Search Templates
- Settings
- Snapshot/Restore
-
- Output all empty snapshot info fields if in verbose mode #25455 (issue: #24477)
- Remove redundant and broken MD5 checksum from repository-s3 #25270 (issue: #25269)
- Consolidates the logic for cleaning up snapshots on master election #24894 (issue: #24605)
- Removes completed snapshot from cluster state on master change #24605 (issue: #24452)
- Fix inefficient (worst case exponential) loading of snapshot repository #24510 (issue: #24509)
- Fixes maintaining the shards a snapshot is waiting on #24289
- Stats
- Suggesters
- Task Manager
Regressions
editUpgrades
editOn this page
Was this helpful?
Thank you for your feedback.