- 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.0.0-alpha5 Release Notes
edit5.0.0-alpha5 Release Notes
editAlso see Breaking changes in 5.0.
This is an alpha release and is intended for testing purposes only. Indices created in this version will not be compatible with Elasticsearch 5.0.0 GA. Upgrading 5.0.0-alpha5 to any other version is not supported.
Known networking bug in 5.0.0-alpha5
There is a major bug in the new Netty4 implementation in this release which affects any REST requests greater than 1024 bytes in size, and which will generate an exception similar to the following:
[WARN ][http.netty4] [wtOV9Vb] caught exception while handling client http traffic, closing connection [id: 0x1320b717, L:/0:0:0:0:0:0:0:1:9200 - R:/0:0:0:0:0:0:0:1:54732] java.lang.UnsupportedOperationException: unsupported message type: DefaultFullHttpResponse (expected: ByteBuf, FileRegion)
This is due to incorrect handling of the Expect
HTTP header, and it can be
worked around in one of three ways:
-
Use a client which does not add
Expect
headers (including the official clients). -
Pass a blank
Except
header, e.g.curl -H 'Expect:' ...
-
Use Netty3 for the HTTP layer by passing the following setting at startup:
./bin/elasticsearch -Ehttp.type=netty3
Breaking changes
edit- CAT API
- Cluster
- Core
-
- Keep input time unit when parsing TimeValues #19102
- Exceptions
- Index APIs
- Scripting
- Search
- Settings
Breaking Java changes
edit- CRUD
- Internal
-
- Clean up BytesReference #19196
- Java API
- Network
-
- Factor out abstract TCPTransport* classes to reduce the netty footprint #19096
- Plugins
-
- Migrate query registration from push to pull #19376
- Add components getter as bridge between guice and new plugin init world #19371
- Remove CustomNodeAttributes extension point #19348
- Add RepositoryPlugin interface for registering snapshot repositories #19324
- Simplified repository api for snapshot/restore #19292
- Switch most search extensions from push to pull #19238
- Move RestHandler registration to ActionModule and ActionPlugin #19165
- Pull actions from plugins #19108
- Switch analysis from push to pull #19073
- Remove guice from Mapper plugins #19018
- Scripting
- Settings
-
-
Remove
node.mode
andnode.local
settings #19428
-
Remove
- Snapshot/Restore
Deprecations
edit- CRUD
-
- Deprecate found and created in delete and index rest responses #19633
- Plugin Discovery Azure Classic
- Templates
New features
editEnhancements
edit- Aggregations
-
- Make the heuristic to compute the default shard size less aggressive. #19659
- Add _bucket_count option to buckets_path #19571 (issue: #19553)
- Remove AggregationStreams #19507
- Migrate serial_diff aggregation to NamedWriteable #19483
- Migrate most remaining pipeline aggregations to NamedWriteable #19480
- Migrate moving_avg pipeline aggregation to NamedWriteable #19420
- Migrate matrix_stats to NamedWriteable #19418
- Migrate derivative pipeline aggregation to NamedWriteable #19407
- Migrate top_hits, histogram, and ip_range aggregations to NamedWriteable #19375
- Migrate nested, reverse_nested, and children aggregations to NamedWriteable #19374
- Migrate geohash_grid and geo_bounds aggregations to NamedWriteable #19372
- Clean up significant terms aggregation results #19365
- Migrate range, date_range, and geo_distance aggregations to NamedWriteable #19321
- Migrate terms aggregation to NamedWriteable #19277
- Migrate sampler and missing aggregations to NamedWriteable #19259
- Migrate global, filter, and filters aggregation to NamedWriteable #19220
- Migrate the cardinality, scripted_metric, and geo_centroid aggregations to NamedWriteable #19219
- Use a static default precision for the cardinality aggregation. #19215
- Migrate more aggregations to NamedWriteable #19199
- Migrate stats and extended stats to NamedWriteable #19198
- Migrate sum, min, and max aggregations over to NamedWriteable #19194
- Start migration away from aggregation streams #19097
- Analysis
- CAT API
- CRUD
- Cache
-
- Enable option to use request cache for size > 0 #19472
- Cluster
- Core
- Discovery
-
- Do not log cluster service errors at after joining a master #19705
- Exceptions
- Geo
- Ingest
- Internal
-
- Make Priority an enum #19448
- Snapshot UUIDs in blob names #19421 (issues: #18156, #18815, #19002, #7540)
- Add RestController method for deprecating in one step #19343
- Tighten ensure atomic move cleanup #19309 (issue: #19036)
- Enable checkstyle ModifierOrder #19214
- Expose task information from NodeClient #19189
- Changed rest handler interface to take NodeClient #19170
- Deprecate ExceptionsHelper.detailedMessage #19160 (issue: #19069)
- Factor out ChannelBuffer from BytesReference #19129
- Cleanup Compressor interface #19125
- Require executor name when calling scheduleWithFixedDelay #17538
- Java API
-
- Start from a random node number so that clients do not overload the first node configured #14143
- Java REST Client
-
- Add response body to ResponseException error message #19653 (issue: #19653)
- Simplify Sniffer initialization and automatically create the default HostsSniffer #19599
- Remove duplicate dependency declaration for http client #19580 (issue: #19281)
- Add callback to customize http client settings #19373
- Rest Client: add short performRequest method variants without params and/or body #19340 (issue: #19312)
- Logging
- Mapping
- Network
- Percolator
- Plugin Discovery EC2
- Plugin Discovery GCE
- Plugin Lang Painless
- Plugin Mapper Size
- Plugins
-
- Add ScriptService to dependencies available for plugin components #19770
- Log one plugin info per line #19441
- Make rest headers registration pull based #19440
- Add resource watcher to services available for plugin components #19401
- Add some basic services to createComponents for plugins #19380
- Make plugins closeable #19137
- Plugins: Add status bar on download #18695
- Query DSL
- REST
- Recovery
- Reindex API
- Scripting
- Search
- Settings
- Snapshot/Restore
-
- BlobContainer#writeBlob no longer can overwrite a blob #19749 (issue: #15579)
- More resilient blob handling in snapshot repositories #19706 (issues: #18156, #18815, #19421, #7540)
- Adding repository index generational files #19002 (issue: #18156)
- Raised IOException on deleteBlob #18815 (issue: #18530)
- Stats
Bug fixes
edit- Aggregations
-
-
Undeprecates
aggs
in the search request #19674 (issue: #19504) -
Change how
nested
andreverse_nested
aggs know about their nested depth level #19550 (issues: #11749, #12410) - Make ExtendedBounds immutable #19490 (issue: #19481)
- Fix potential AssertionError with include/exclude on terms aggregations. #19252 (issue: #18575)
- Pass resolved extended bounds to unmapped histogram aggregator #19085 (issue: #19009)
- Fix "key_as_string" for date histogram and epoch_millis/epoch_second format with time zone #19043 (issue: #19038)
-
Undeprecates
- Allocation
- Analysis
- CAT API
- Cluster
- Core
- Dates
-
- Make sure TimeIntervalRounding is monotonic for increasing dates #19020
- Geo
-
- Incomplete results when using geo_distance for large distances #17578
- Highlighting
- Index APIs
- Ingest
-
- Fix NPE when simulating a pipeline with no id #19650
- Change foreach processor to use ingest metadata for array element #19609 (issue: #19592)
- No other processors should be executed after on_failure is called #19545
- rethrow script compilation exceptions into ingest configuration exceptions #19318
-
Rename from
ingest-useragent
plugin toingest-user-agent
and its processor fromuseragent
touser_agent
#19261
- Inner Hits
- Internal
- Java REST Client
- Logging
-
- Only log running out of slots when out of slots #19637
- Mapping
- Network
- Packaging
-
- Disable service in pre-uninstall #19328
- Parent/Child
- Plugin Discovery Azure Classic
- Plugin Discovery EC2
- Plugin Discovery GCE
- Plugin Repository Azure
-
- Register group setting for repository-azure accounts #19086
- Plugin Repository S3
- Query DSL
- REST
- Recovery
- Search
- Settings
- Stats
- Store
Upgrades
editOn this page