2017-09-07 11:25:05 -04:00
|
|
|
[[breaking_70_search_changes]]
|
2017-10-11 09:31:48 -04:00
|
|
|
=== Search and Query DSL changes
|
|
|
|
|
|
|
|
==== Changes to queries
|
|
|
|
* The default value for `transpositions` parameter of `fuzzy` query
|
|
|
|
has been changed to `true`.
|
2017-09-07 11:25:05 -04:00
|
|
|
|
|
|
|
==== Adaptive replica selection enabled by default
|
|
|
|
|
|
|
|
Adaptive replica selection has been enabled by default. If you wish to return to
|
|
|
|
the older round robin of search requests, you can use the
|
|
|
|
`cluster.routing.use_adaptive_replica_selection` setting:
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
PUT /_cluster/settings
|
|
|
|
{
|
|
|
|
"transient": {
|
|
|
|
"cluster.routing.use_adaptive_replica_selection": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--------------------------------------------------
|
|
|
|
// CONSOLE
|
|
|
|
|
2017-10-31 07:36:00 -04:00
|
|
|
==== Search API returns `400` for invalid requests
|
2017-10-31 07:17:27 -04:00
|
|
|
|
2017-10-31 07:36:00 -04:00
|
|
|
The Search API returns `400 - Bad request` while it would previously return
|
|
|
|
`500 - Internal Server Error` in the following cases of invalid request:
|
|
|
|
|
|
|
|
* the result window is too large
|
|
|
|
* sort is used in combination with rescore
|
|
|
|
* the rescore window is too large
|
|
|
|
* the number of slices is too large
|
|
|
|
* keep alive for scroll is too large
|
|
|
|
* number of filters in the adjacency matrix aggregation is too large
|