This is the first pre release of the 6.x release cycle.
Backward Compatibility Breaks
- Numeric to and from parameters in date_range aggregation are interpreted according to format of the target field
- In ES6 only strict type boolean are accepted. On ES6 docs
- removed analyzed/not_analyzed on indices mapping
- store field only accepts boolean
- Replace IndexAlreadyExistsException with ResourceAlreadyExistsException #1350
- in order to delete an index you should not delete by its alias now you should delete using the concrete index name #1348
- Removed
optimize
from Index class as it has been deprecated in ES 2.1 and removed in ES 5.x+ use forcemerge #1351 - In QueryString is not allowed to use fields parameters in conjunction with default_field parameter. This is not well documented, it's possibile to understand from Elasticsearch tests : QueryStringQueryBuilderTests.java #1352
- Index mapping field of type 'string' has been removed from Elasticsearch 6.0 codebase #1353
- The created and found fields in index and delete responses became obsolete after the introduction of the result field in index, update and delete responses #1354
- Removed file scripts #24627 #1364
- Removed groovy script #1364
- Removed native script #1364
- Removed old / removed script language support : javascript, python, mvel #1364
- Disable _all by default, disallow configuring _all on 6.0+ indices #1365
- Unfiltered nested source should keep its full path #1366
- The deprecated minimum_number_should_match parameter in the bool query has been removed, use minimum_should_match instead. #1369
- For geo_distance queries, sorting, and aggregations the sloppy_arc option has been removed from the distance_type parameter. #1369
- The geo_distance_range query, which was deprecated in 5.0, has been removed. #1369
- The optimize_bbox parameter has been removed from geo_distance queries. #1369
- The disable_coord parameter of the bool and common_terms queries has been removed. If provided, it will be ignored and issue a deprecation warning. #1369
- Unfiltered nested source should keep its full path #1366
- Analyze Explain no more support request parameters, use request body instead. #1370
- Mapper Attachment plugin has been removed Use Ingest-attachment plugin and attachment processors with pipeline to ingest new documents. #1375
- Indices Query has been removed in Elasticsearch 6.0 #1376
- Remove deprecated type and slop field in match query #1382
- Remove several parse field deprecations in query builders #1382
- Remove deprecated parameters from ids_query #1382
- Implemented join-datatype is a special field that creates parent/child relation within documents of the same index. #1383
Bugfixes
- Enforce Content-Type requirement on the layer Rest, a PR on Elastica #1301 solved it (it has been implemented only in the HTTP Transport), but it was not implemented in the Guzzle Transport. #1349
- Scroll no longer does an extra iteration both on an empty result and on searches where the last page has a significantly smaller number of results than the pages before it.
Added
- Added
Query\SpanContaining
,Query\SpanWithin
andQuery\SpanNot
#1319 - Implemented Pipeline and Processors. #1373