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-alpha3 Release Notes
edit5.0.0-alpha3 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-alpha3 to any other version is not supported.
Breaking changes
editBreaking Java changes
edit- Allocation
- Discovery
- Percolator
- Scripting
-
- Remove LeafSearchScript.runAsFloat(): Nothing calls it. #18364
- Search
New features
edit- Ingest
- Reindex API
- Snapshot/Restore
- Stats
Enhancements
edit- Aggregations
- Allocation
- Analysis
- CAT API
- Core
- Dates
- Discovery
-
- Log warning if minimum_master_nodes set to less than quorum #15625
- Exceptions
- Expressions
- Ingest
-
- Expose underlying processor to blame for thrown exception within CompoundProcessor #18342 (issue: #17823)
- Avoid string concatentation in IngestDocument.FieldPath #18108
- add ability to specify multiple grok patterns #18074 (issue: #17903)
- add ability to disable ability to override values of existing fields in set processor #17902 (issue: #17659)
- Inner Hits
- Internal
-
- Do not automatically close XContent objects/arrays #18549 (issue: #18433)
- Remove use of a Fields class in snapshot responses #18497
- Removes multiple toXContent entry points for SnapshotInfo #18494
- Removes unused methods in the o/e/common/Strings class #18346
- Determine content length eagerly in HttpServer #18203
- Consolidate query generation in QueryShardContext #18129
- Make reset in QueryShardContext private #18113
- Remove Strings#splitStringToArray #18110
- Add toString() to GetResponse #18102
- ConstructingObjectParser adapts ObjectParser for ctor args #17596 (issue: #17352)
- Java API
- Mapping
- Network
- Packaging
-
- Don’t mkdir directly in deb init script #18503 (issue: #18307)
- Increase default heap size to 2g #18311 (issues: #16334, #17686, #18309)
- Switch init.d scripts to use bash #18308 (issue: #18259)
- Switch scripts to use bash #18251 (issue: #14002)
- Further simplifications of plugin script #18239 (issue: #18207)
- Pass ES_JAVA_OPTS to JVM for plugins script #18140 (issue: #16790)
- Parent/Child
- Plugin Lang Painless
-
- improve painless whitelist coverage of java api #18533
- Definition cleanup #18463
- Made def variable casting consistent with invokedynamic rules #18425
- Use Java 9 Indy String Concats, if available #18400 (issue: #18398)
- Add method overloading based on arity #18385
- Refactor WriterUtils to extend ASM GeneratorAdapter #18382
- Whitelist expansion #18372
- Remove boxing when loading and storing values in "def" fields/arrays, remove boxing onsimple method calls of "def" methods #18359
- Some cleanups #18352
- Use isAssignableFrom instead of relying on ClassCastException #18350
- Build descriptor of array and field load/store in code #18338
- Rename the dynamic call site factory to DefBootstrap #18335
- Cleanup of DynamicCallSite #18323
- Improve exception stacktraces #18319
- Make Line Number Available in Painless #18298
- Remove input, support params instead #18287
- Decouple ANTLR AST from Painless #18286
- _value support in painess? #18284
- Long priority over Float #18282
- _score as double, not float #18277
- Add ctx keyword to painless. #18264
- Painless doc access #18262
- Retrieve _score directly from Scorer #18258
- Implement needsScore() correctly. #18247
- Add synthetic length property as alias to Lists, so they can be used like arrays #18241
- Use better typing for dynamic method calls #18234
- Array load/store and length with invokedynamic #18232 (issue: #18201)
- Switch painless dynamic calls to invokedynamic, remove perf hack/cheat #18201
- Add fielddata accessors (.value/.values/.distance()/etc) #18169
- painless: optimize/simplify dynamic field and method access #18151
- Painless: Single-Quoted Strings #18150
- Plugins
- Query DSL
- REST
- Reindex API
-
- Make Reindex cancellation tests more uniform #18498
- Makes DeleteByQueryRequest implements IndicesRequest #18466
- Switch default batch size for reindex to 1000 #18340
- Teach reindex to retry on search failures #18331 (issue: #18059)
- Remove ReindexResponse in favor of BulkIndexByScrollResponse #18205
- Stricter validation of Reindex’s requests_per_second #18028
- Search
- Search Refactoring
-
- Removes the now obsolete SearchParseElement implementations #18233
- Snapshot/Restore
- Stats
-
- Do not return fieldstats information for fields that exist in the mapping but not in the index. #18212 (issue: #17980)
- Add whether the shard state fetch is pending to the allocation explain API #18119 (issue: #17372)
- Add Failure Details to every NodesResponse #17964 (issue: #3740)
- Add I/O statistics on Linux #15915 (issue: #15296)
- Translog
-
- FSync translog outside of the writers global lock #18360
Bug fixes
edit- Aggregations
-
- Fix TimeUnitRounding for hour, minute and second units #18415 (issue: #18326)
- Aggregations fix: support include/exclude strings for IP and dates #18408 (issue: #17705)
- Fix xcontent rendering of ip terms aggs. #18003 (issue: #17971)
- Improving parsing of sigma param for Extended Stats Bucket Aggregation #17562 (issue: #17499)
- Analysis
- Bulk
- CAT API
- Circuit Breakers
- Cluster
- Core
- Highlighting
- Ingest
- Internal
- Mapping
- Packaging
- Percolator
-
- Add support for MatchNoDocsQuery in percolator’s query terms extract service #18492
- Plugin Discovery EC2
-
- Add TAG_SETTING to list of allowed tags for the ec2 discovery plugin. #18257
- Plugin Lang Painless
- Plugin Repository Azure
- REST
- Search
- Settings
- Snapshot/Restore
- Stats
- Translog