mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
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 |
||
---|---|---|
.. | ||
apis | ||
migrate_8_0 | ||
index.asciidoc | ||
migrate_8_0.asciidoc | ||
migration.asciidoc |