diff --git a/CHANGELOG.md b/CHANGELOG.md index 912ce5b14b02d..560b67e48d8f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -129,7 +129,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed - Fix issue with feature flags where default value may not be honored ([#12849](https://github.com/opensearch-project/OpenSearch/pull/12849)) - Fix UOE While building Exists query for nested search_as_you_type field ([#12048](https://github.com/opensearch-project/OpenSearch/pull/12048)) -- Fix from and size parameter can be negative when searching +- Fix from and size parameter can be negative when searching ([#13047](https://github.com/opensearch-project/OpenSearch/pull/13047)) ### Security diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/360_from_and_size.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/360_from_and_size.yml index edc8c9ee52ba1..bb8371ea81a50 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/360_from_and_size.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/360_from_and_size.yml @@ -37,8 +37,8 @@ teardown: --- "Throws exception if from or size query parameter is negative": - skip: - version: " - 2.13.99" - reason: "fixed in 2.14.0" + version: " - 2.99.99" + reason: "fixed in 3.0.0" - do: catch: '/\[from\] parameter cannot be negative, found \[-5\]/' search: @@ -65,7 +65,7 @@ teardown: search: index: test_1 from: 0 - size: 1 + size: 10 body: query: match: @@ -76,8 +76,8 @@ teardown: --- "Throws exception if from or size request body parameter is negative": - skip: - version: " - 2.13.99" - reason: "fixed in 2.14.0" + version: " - 2.99.99" + reason: "fixed in 3.0.0" - do: catch: '/\[from\] parameter cannot be negative, found \[-5\]/' search: @@ -105,7 +105,7 @@ teardown: index: test_1 body: from: 0 - size: 1 + size: 10 query: match: foo: bar