elasticsearch/docs/reference/rest-api
Christoph Büscher 3d4f9fedaf
Check for negative "from" values in search request body (#54953)
Today we already disallow negative values for the "from" parameter in the search
API when it is set as a request parameter and setting it on the
SearchSourceBuilder, but it is still parsed without complaint from a search
body, leading to differing exceptions later. This PR changes this behavior to be
the same regardless of setting the value directly, as url parameter or in the
search body. While we silently accepted "-1" as meaning "unset" and used the
default value of 0 so far, any negative from-value is now disallowed.

Closes #54897
2020-05-28 16:25:19 +02:00
..
common-parms.asciidoc Check for negative "from" values in search request body (#54953) 2020-05-28 16:25:19 +02:00
cron-expressions.asciidoc [DOCS] Extract the cron docs from Watcher docs and add to the API conventions. (#56313) 2020-05-12 15:32:47 -07:00
defs.asciidoc [DOCS] Fine-tunes data frame analytics API docs formatting. (#50799) 2020-01-09 16:21:01 +01:00
index.asciidoc [DOCS] Add clean up snapshot repository API docs (#56519) 2020-05-12 08:56:29 -04:00
info.asciidoc Remove xpack actions for the flattened field. (#53076) 2020-03-04 08:35:03 -08:00
usage.asciidoc Add Normalize Pipeline Aggregation (#56399) 2020-05-14 13:32:42 -07:00