Skip to content

Commit e638d53

Browse files
authored
Protobuf schema change detected (opensearch-project#467)
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 6eceba3 commit e638d53

1 file changed

Lines changed: 65 additions & 6 deletions

File tree

protos/schemas/common.proto

Lines changed: 65 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ message HitsMetadata {
374374
// [required] Array of returned document objects.
375375
repeated HitsMetadataHitsInner hits = 2;
376376

377-
// [optional] Highest returned document _score.
378-
optional HitsMetadataMaxScore max_score = 3;
377+
HitsMetadataMaxScore max_score = 3;
379378
}
380379

381380
message TotalHits {
@@ -2865,6 +2864,7 @@ message BinaryFieldValue {
28652864

28662865
// [optional] Long array payload for fields that support vector-like input.
28672866
LongArrayValue long_array_value = 5;
2867+
28682868
}
28692869
}
28702870

@@ -2902,12 +2902,12 @@ message FloatList {
29022902

29032903
message DoubleArrayValue {
29042904
oneof encoding {
2905-
29062905
// [optional] Fast path: 8 * dimension bytes, little-endian binary double array.
29072906
DoubleBinaryLE binary_le = 1;
29082907

29092908
// [optional] Simple path: packed array
29102909
DoubleList values = 2;
2910+
29112911
}
29122912
}
29132913

@@ -2928,12 +2928,12 @@ message DoubleList {
29282928

29292929
message IntArrayValue {
29302930
oneof encoding {
2931-
29322931
// [optional] Fast path: 4 * dimension bytes, little-endian binary int32 array.
29332932
IntBinaryLE binary_le = 1;
29342933

29352934
// [optional] Simple path: packed array
29362935
IntList values = 2;
2936+
29372937
}
29382938
}
29392939

@@ -2954,12 +2954,12 @@ message IntList {
29542954

29552955
message LongArrayValue {
29562956
oneof encoding {
2957-
29582957
// [optional] Fast path: 8 * dimension bytes, little-endian binary int64 array.
29592958
LongBinaryLE binary_le = 1;
29602959

29612960
// [optional] Simple path: packed array
29622961
LongList values = 2;
2962+
29632963
}
29642964
}
29652965

@@ -3413,6 +3413,65 @@ message MlPredictModelStreamRequest {
34133413
optional MLPredictModelStreamRequestBody ml_predict_model_stream_request_body = 3;
34143414
}
34153415

3416+
message CreatePITResponse {
3417+
3418+
string pit_id = 1;
3419+
3420+
int64 creation_time = 2;
3421+
3422+
ShardStatistics x_shards = 3;
3423+
}
3424+
3425+
message DeletePITResponse {
3426+
3427+
repeated DeletedPit pits = 1;
3428+
}
3429+
3430+
message DeletePitRequest {
3431+
3432+
repeated string pit_id = 1;
3433+
}
3434+
3435+
message DeletedPit {
3436+
3437+
string pit_id = 1;
3438+
3439+
bool successful = 2;
3440+
}
3441+
3442+
message CreatePitRequest {
3443+
3444+
// A comma-separated list of indexes; use `_all` or empty string to perform the operation on all indexes.
3445+
repeated string index = 1;
3446+
3447+
// Specify the keep alive for point in time.
3448+
string keep_alive = 2;
3449+
3450+
// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes.
3451+
optional bool allow_no_indices = 3;
3452+
3453+
// Allow if point in time can be created with partial failures.
3454+
optional bool allow_partial_pit_creation = 4;
3455+
3456+
// Whether to expand wildcard expression to concrete indexes that are open, closed or both.
3457+
repeated ExpandWildcard expand_wildcards = 5;
3458+
3459+
// If `true`, concrete, expanded or aliased indexes will be ignored when frozen.
3460+
optional bool ignore_throttled = 6;
3461+
3462+
// If `false`, the request returns an error if it targets a missing or closed index.
3463+
optional bool ignore_unavailable = 7;
3464+
3465+
// Specify the node or shard the operation should be performed on.
3466+
optional string preference = 8;
3467+
3468+
// A comma-separated list of specific routing values.
3469+
repeated string routing = 9;
3470+
3471+
// Global query parameters
3472+
optional GlobalParams global_params = 10;
3473+
}
3474+
34163475
enum FieldValueFactorModifier {
34173476
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0;
34183477
FIELD_VALUE_FACTOR_MODIFIER_LN = 1;
@@ -3838,4 +3897,4 @@ message GeneralNumber {
38383897
enum NullValue {
38393898
NULL_VALUE_UNSPECIFIED = 0;
38403899
NULL_VALUE_NULL = 1;
3841-
}
3900+
}

0 commit comments

Comments
 (0)