2016-09-08 09:37:36 -04:00
|
|
|
[[breaking_60_search_changes]]
|
|
|
|
=== Search and Query DSL changes
|
|
|
|
|
|
|
|
==== Changes to queries
|
|
|
|
|
|
|
|
* The `collect_payloads` parameter of the `span_near` query has been removed. Payloads will be
|
|
|
|
loaded when needed.
|
2016-11-15 12:36:57 -05:00
|
|
|
|
|
|
|
* Queries on boolean fields now strictly parse boolean-like values. This means
|
|
|
|
only the strings `"true"` and `"false"` will be parsed into their boolean
|
|
|
|
counterparts. Other strings will cause an error to be thrown.
|
2016-11-22 11:22:33 -05:00
|
|
|
|
2016-11-29 14:05:04 -05:00
|
|
|
* The `in` query (a synonym for the `terms` query) has been removed
|
|
|
|
|
|
|
|
* The `geo_bbox` query (a synonym for the `geo_bounding_box` query) has been removed
|
|
|
|
|
|
|
|
* The `mlt` query (a synonym for the `more_like_this` query) has been removed
|
|
|
|
|
|
|
|
* The `fuzzy_match` and `match_fuzzy` query (synonyma for the `match` query) have been removed
|
2016-11-22 11:22:33 -05:00
|
|
|
|
2016-11-30 09:29:09 -05:00
|
|
|
* The `terms` query now always returns scores equal to `1` and is not subject to
|
|
|
|
`indices.query.bool.max_clause_count` anymore.
|
|
|
|
|
2016-11-30 13:37:01 -05:00
|
|
|
* The deprecated `indices` query has been removed.
|
|
|
|
|
2016-11-22 11:22:33 -05:00
|
|
|
==== Search shards API
|
|
|
|
|
|
|
|
The search shards API no longer accepts the `type` url parameter, which didn't
|
|
|
|
have any effect in previous versions.
|