elasticsearch/docs/reference/search
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
..
request [DOCS] Fix deep paging recommendations 2020-05-21 14:25:04 -04:00
suggesters [Test] Don't expect specific scores in docs tests (#54297) 2020-03-27 10:23:16 +01:00
async-search.asciidoc [DOCS] Async search: clarify behaviour when submit returns final results (#55934) 2020-05-06 10:00:30 +02:00
count.asciidoc [Docs] Clarify default value for allow_no_indices (#52635) 2020-02-24 11:37:29 +01:00
explain.asciidoc Upgrade to lucene 8.4.0-snapshot-662c455. (#50016) 2019-12-10 17:09:36 +01:00
field-caps.asciidoc [Docs] Clarify default value for allow_no_indices (#52635) 2020-02-24 11:37:29 +01:00
index.asciidoc [DOCS] Correct typo in "Run a search" docs 2020-05-13 10:14:49 -04:00
multi-search.asciidoc Repurpose ignore_throttled to be only about frozen indices. (#55047) 2020-04-28 13:43:35 +02:00
profile.asciidoc Save memory on numeric sig terms when not top (#56789) 2020-05-27 10:53:09 -04:00
rank-eval.asciidoc Adds recall@k metric to rank eval API (#52577) 2020-02-27 10:43:42 +01:00
request-body.asciidoc [DOCS] Add search pagination docs (#56785) 2020-05-15 17:22:40 -04:00
run-a-search.asciidoc [DOCS] Add search pagination docs (#56785) 2020-05-15 17:22:40 -04:00
search-shards.asciidoc [Docs] Clarify default value for allow_no_indices (#52635) 2020-02-24 11:37:29 +01:00
search-template.asciidoc [Docs] Clarify default value for allow_no_indices (#52635) 2020-02-24 11:37:29 +01:00
search.asciidoc Check for negative "from" values in search request body (#54953) 2020-05-28 16:25:19 +02:00
suggesters.asciidoc [DOCS] Reformat suggesters page. (#47010) 2019-09-25 14:38:47 +02:00
validate.asciidoc [Docs] Clarify default value for allow_no_indices (#52635) 2020-02-24 11:37:29 +01:00