You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Search and Query DSL changesedit
Changes to queriesedit
-
The
collect_payloads
parameter of thespan_near
query has been removed. Payloads will be loaded when needed. -
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. -
The
in
query (a synonym for theterms
query) has been removed -
The
geo_bbox
query (a synonym for thegeo_bounding_box
query) has been removed -
The
mlt
query (a synonym for themore_like_this
query) has been removed -
The
fuzzy_match
andmatch_fuzzy
query (synonyma for thematch
query) have been removed -
The
terms
query now always returns scores equal to1
and is not subject toindices.query.bool.max_clause_count
anymore. -
The deprecated
indices
query has been removed. -
Support for empty query objects (
{ }
) has been removed from the query DSL. An error is thrown whenever an empty query object is provided.
Search shards APIedit
The search shards API no longer accepts the type
url parameter, which didn’t
have any effect in previous versions.