Skip to content

Commit f10d440

Browse files
authored
Update NumberRangeQuery & DateRangeQuery missing field include_lower & include_upper (opensearch-project#213)
Signed-off-by: xil <fridalu66@gmail.com>
1 parent 66eaf6b commit f10d440

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

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

88
### Changed
99
- Update function_score, range, script query protobufs ([#212](https://github.com/opensearch-project/opensearch-protobufs/pull/212))
10-
10+
- Update NumberRangeQuery & DateRangeQuery missing field include_lower & include_upper ([#213](https://github.com/opensearch-project/opensearch-protobufs/pull/213))
1111
### Removed
1212

1313
### Fixed

protos/schemas/common.proto

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,10 +2073,16 @@ message NumberRangeQuery {
20732073

20742074
// [optional]
20752075
optional NumberRangeQueryAllOfFrom from = 9;
2076-
// [optional]
20772076

2077+
// [optional]
20782078
optional NumberRangeQueryAllOfTo to = 10;
20792079

2080+
// [optional] Include the lower bound
2081+
optional bool include_lower = 11;
2082+
2083+
// [optional] Include the upper bound
2084+
optional bool include_upper = 12;
2085+
20802086
}
20812087
message NumberRangeQueryAllOfFrom {
20822088
oneof number_range_query_all_of_from {
@@ -2122,6 +2128,10 @@ message DateRangeQuery {
21222128
optional string format = 11;
21232129
// [optional] The time zone identifier.
21242130
optional string time_zone = 12;
2131+
// [optional] Include the lower bound
2132+
optional bool include_lower = 13;
2133+
// [optional] Include the upper bound
2134+
optional bool include_upper = 14;
21252135
}
21262136

21272137
message DateRangeQueryAllOfFrom {

0 commit comments

Comments
 (0)