IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. 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