|
@@ -1,6 +1,8 @@
|
|
|
+[float]
|
|
|
[[breaking_70_search_changes]]
|
|
|
=== Search and Query DSL changes
|
|
|
|
|
|
+[float]
|
|
|
==== Changes to queries
|
|
|
* The default value for `transpositions` parameter of `fuzzy` query
|
|
|
has been changed to `true`.
|
|
@@ -18,6 +20,7 @@
|
|
|
* Attempts to generate multi-term phrase queries against non-text fields
|
|
|
with a custom analyzer will now throw an exception
|
|
|
|
|
|
+[float]
|
|
|
==== Adaptive replica selection enabled by default
|
|
|
|
|
|
Adaptive replica selection has been enabled by default. If you wish to return to
|
|
@@ -35,6 +38,7 @@ PUT /_cluster/settings
|
|
|
--------------------------------------------------
|
|
|
// CONSOLE
|
|
|
|
|
|
+[float]
|
|
|
==== Search API returns `400` for invalid requests
|
|
|
|
|
|
The Search API returns `400 - Bad request` while it would previously return
|
|
@@ -48,12 +52,14 @@ The Search API returns `400 - Bad request` while it would previously return
|
|
|
* number of filters in the adjacency matrix aggregation is too large
|
|
|
* script compilation errors
|
|
|
|
|
|
+[float]
|
|
|
==== Scroll queries cannot use the `request_cache` anymore
|
|
|
|
|
|
Setting `request_cache:true` on a query that creates a scroll (`scroll=1m`)
|
|
|
has been deprecated in 6 and will now return a `400 - Bad request`.
|
|
|
Scroll queries are not meant to be cached.
|
|
|
|
|
|
+[float]
|
|
|
==== Scroll queries cannot use `rescore` anymore
|
|
|
Including a rescore clause on a query that creates a scroll (`scroll=1m`) has
|
|
|
been deprecated in 6.5 and will now return a `400 - Bad request`. Allowing
|
|
@@ -61,6 +67,7 @@ rescore on scroll queries would break the scroll sort. In the 6.x line, the
|
|
|
rescore clause was silently ignored (for scroll queries), and it was allowed in
|
|
|
the 5.x line.
|
|
|
|
|
|
+[float]
|
|
|
==== Term Suggesters supported distance algorithms
|
|
|
|
|
|
The following string distance algorithms were given additional names in 6.2 and
|
|
@@ -70,7 +77,7 @@ removed.
|
|
|
* `levenstein` - replaced by `levenshtein`
|
|
|
* `jarowinkler` - replaced by `jaro_winkler`
|
|
|
|
|
|
-
|
|
|
+[float]
|
|
|
==== Limiting the number of terms that can be used in a Terms Query request
|
|
|
|
|
|
Executing a Terms Query with a lot of terms may degrade the cluster performance,
|
|
@@ -79,7 +86,7 @@ To safeguard against this, the maximum number of terms that can be used in a
|
|
|
Terms Query request has been limited to 65536. This default maximum can be changed
|
|
|
for a particular index with the index setting `index.max_terms_count`.
|
|
|
|
|
|
-
|
|
|
+[float]
|
|
|
==== Limiting the length of regex that can be used in a Regexp Query request
|
|
|
|
|
|
Executing a Regexp Query with a long regex string may degrade search performance.
|
|
@@ -87,11 +94,13 @@ To safeguard against this, the maximum length of regex that can be used in a
|
|
|
Regexp Query request has been limited to 1000. This default maximum can be changed
|
|
|
for a particular index with the index setting `index.max_regex_length`.
|
|
|
|
|
|
+[float]
|
|
|
==== Invalid `_search` request body
|
|
|
|
|
|
Search requests with extra content after the main object will no longer be accepted
|
|
|
by the `_search` endpoint. A parsing exception will be thrown instead.
|
|
|
|
|
|
+[float]
|
|
|
==== Context Completion Suggester
|
|
|
|
|
|
The ability to query and index context enabled suggestions without context,
|
|
@@ -102,12 +111,14 @@ considerably.
|
|
|
For geo context the value of the `path` parameter is now validated against the mapping,
|
|
|
and the context is only accepted if `path` points to a field with `geo_point` type.
|
|
|
|
|
|
+[float]
|
|
|
==== Semantics changed for `max_concurrent_shard_requests`
|
|
|
|
|
|
`max_concurrent_shard_requests` used to limit the total number of concurrent shard
|
|
|
requests a single high level search request can execute. In 7.0 this changed to be the
|
|
|
max number of concurrent shard requests per node. The default is now `5`.
|
|
|
|
|
|
+[float]
|
|
|
==== `max_score` set to `null` when scores are not tracked
|
|
|
|
|
|
`max_score` used to be set to `0` whenever scores are not tracked. `null` is now used
|