Skip to content

Commit 9bb6a95

Browse files
authored
Update sort in SearchRequestBody (opensearch-project#222)
Signed-off-by: xil <fridalu66@gmail.com>
1 parent 6de5a67 commit 9bb6a95

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
### Added
77

88
### Changed
9+
- Update sort in SearchRequestBody ([#221](https://github.com/opensearch-project/opensearch-protobufs/pull/222))
910

1011
### Removed
1112

protos/schemas/search.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ message SearchRequestBody {
211211
optional SlicedScroll slice = 21;
212212

213213
// [optional] Sorting allows your users to sort results in a way that's most meaningful to them. By default, full-text queries sort results by the relevance score. You can choose to sort the results by any field value in either ascending or descending order by setting the order parameter to asc or desc.
214-
repeated SortOptions sort = 22;
214+
repeated SortCombinations sort = 22;
215215

216216
// [optional] Whether to include the _source field in the response.
217217
optional SourceConfig x_source = 23;

0 commit comments

Comments
 (0)