Skip to content

Commit 8189a73

Browse files
Protobuf schema change detected (opensearch-project#409)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lucy66hw <178352792+lucy66hw@users.noreply.github.com>
1 parent 8f45486 commit 8189a73

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

protos/schemas/common.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ message SearchRequestBody {
134134
optional TrackHits track_total_hits = 7;
135135

136136
// [optional] Values used to boost the score of specified indexes. Specify in the format of <index> : <boost-multiplier>
137-
map<string, float> indices_boost = 8;
137+
map<string, float> indices_boost = 8 [deprecated = true];
138138

139139
// [optional] The fields that OpenSearch should return using their docvalue forms. Specify a format to return results in a certain format, such as date and time.
140140
repeated FieldAndFormat docvalue_fields = 9;
@@ -210,6 +210,9 @@ message SearchRequestBody {
210210

211211
// [optional]
212212
map<string, DerivedField> derived = 35;
213+
214+
// [optional] Values used to boost the score of specified indexes. Specify in the format of <index> : <boost-multiplier>
215+
repeated FloatMap indices_boost_2 = 36;
213216
}
214217

215218
message DerivedField {
@@ -2908,6 +2911,11 @@ message ShardSearchFailure {
29082911
ErrorCause reason = 4;
29092912
}
29102913

2914+
message FloatMap {
2915+
2916+
map<string, float> float_map = 1;
2917+
}
2918+
29112919
enum FieldValueFactorModifier {
29122920
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0;
29132921
FIELD_VALUE_FACTOR_MODIFIER_LN = 1;

0 commit comments

Comments
 (0)