Skip to content

Commit 7be4db4

Browse files
lucy66hwgithub-actions[bot]
authored andcommitted
Protobuf schema change detected
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8760c27 commit 7be4db4

1 file changed

Lines changed: 66 additions & 99 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 66 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,11 @@ message AggregationProfile {
367367

368368
string description = 2;
369369

370-
// Time unit for nanoseconds.
371-
int64 time_in_nanos = 3;
370+
string type = 3;
372371

373-
string type = 4;
372+
optional AggregationProfileDebug debug = 4;
374373

375-
optional AggregationProfileDebug debug = 5;
376-
377-
repeated AggregationProfile children = 6;
374+
repeated AggregationProfile children = 5;
378375
}
379376
message AggregationProfileDebug {
380377
optional int32 segments_with_multi_valued_ords = 1;
@@ -518,6 +515,7 @@ message AutoDateHistogramAggregation {
518515

519516
optional MinimumInterval minimum_interval = 8;
520517

518+
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
521519
optional string missing = 9;
522520

523521
// Time zone specified as a ISO 8601 UTC offset.
@@ -880,10 +878,7 @@ message Collector {
880878

881879
string reason = 2;
882880

883-
// Time unit for nanoseconds.
884-
int64 time_in_nanos = 3;
885-
886-
repeated Collector children = 4;
881+
repeated Collector children = 3;
887882
}
888883
enum CombinedFieldsOperator {
889884
COMBINED_FIELDS_OPERATOR_UNSPECIFIED = 0;
@@ -1252,6 +1247,7 @@ message DateDecayPlacement {
12521247
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
12531248
optional string offset = 2;
12541249

1250+
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
12551251
optional string origin = 3;
12561252

12571253
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
@@ -1296,6 +1292,7 @@ message DateHistogramAggregation {
12961292
// Only returns buckets that have `min_doc_count` number of documents. By default, all buckets between the first bucket that matches documents and the last one are returned.
12971293
optional int32 min_doc_count = 12;
12981294

1295+
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
12991296
optional string missing = 13;
13001297

13011298
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
@@ -1317,9 +1314,6 @@ message DateHistogramBucket {
13171314
int64 doc_count = 1;
13181315

13191316
optional string key_as_string = 2;
1320-
1321-
// The time unit for milliseconds.
1322-
int64 key = 3;
13231317
}
13241318
message DateRangeAggregate {
13251319
// The custom metadata attached to a resource.
@@ -1412,14 +1406,6 @@ message DateRangeQueryAllOfTo {
14121406
NullValue null_value = 2;
14131407
}
14141408
}
1415-
message DateTime {
1416-
oneof date_time {
1417-
string string = 1;
1418-
1419-
// The time unit for milliseconds.
1420-
int64 int64 = 2;
1421-
}
1422-
}
14231409
enum Day {
14241410
DAY_UNSPECIFIED = 0;
14251411
DAY_DAY = 1;
@@ -1962,14 +1948,11 @@ message FetchProfile {
19621948

19631949
string description = 2;
19641950

1965-
// Time unit for nanoseconds.
1966-
int64 time_in_nanos = 3;
1967-
1968-
FetchProfileBreakdown breakdown = 4;
1951+
FetchProfileBreakdown breakdown = 3;
19691952

1970-
optional FetchProfileDebug debug = 5;
1953+
optional FetchProfileDebug debug = 4;
19711954

1972-
repeated FetchProfile children = 6;
1955+
repeated FetchProfile children = 5;
19731956
}
19741957
message FetchProfileBreakdown {
19751958
optional int32 load_source = 1;
@@ -2111,14 +2094,15 @@ enum FieldType {
21112094
FIELD_TYPE_RANK_FEATURES = 36;
21122095
FIELD_TYPE_SCALED_FLOAT = 37;
21132096
FIELD_TYPE_SEARCH_AS_YOU_TYPE = 38;
2114-
FIELD_TYPE_SHORT = 39;
2115-
FIELD_TYPE_TEXT = 40;
2116-
FIELD_TYPE_TOKEN_COUNT = 41;
2117-
FIELD_TYPE_UNSIGNED_LONG = 42;
2118-
FIELD_TYPE_VERSION = 43;
2119-
FIELD_TYPE_WILDCARD = 44;
2120-
FIELD_TYPE_XY_POINT = 45;
2121-
FIELD_TYPE_XY_SHAPE = 46;
2097+
FIELD_TYPE_SEMANTIC = 39;
2098+
FIELD_TYPE_SHORT = 40;
2099+
FIELD_TYPE_TEXT = 41;
2100+
FIELD_TYPE_TOKEN_COUNT = 42;
2101+
FIELD_TYPE_UNSIGNED_LONG = 43;
2102+
FIELD_TYPE_VERSION = 44;
2103+
FIELD_TYPE_WILDCARD = 45;
2104+
FIELD_TYPE_XY_POINT = 46;
2105+
FIELD_TYPE_XY_SHAPE = 47;
21222106
}
21232107
message FieldValue {
21242108
optional bool bool = 1;
@@ -3011,38 +2995,35 @@ message Hit {
30112995

30122996
repeated FieldValue sort = 6;
30132997

3014-
// The type of document or resource.
3015-
optional string x_type = 7;
3016-
3017-
optional string x_index = 8;
2998+
optional string x_index = 7;
30182999

30193000
// The unique identifier for a resource.
3020-
optional string x_id = 9;
3001+
optional string x_id = 8;
30213002

3022-
optional HitXScore x_score = 10;
3003+
optional HitXScore x_score = 9;
30233004

3024-
optional Explanation x_explanation = 11;
3005+
optional Explanation x_explanation = 10;
30253006

3026-
optional NestedIdentity x_nested = 12;
3007+
optional NestedIdentity x_nested = 11;
30273008

3028-
repeated string x_ignored = 13;
3009+
repeated string x_ignored = 12;
30293010

3030-
optional string x_shard = 14;
3011+
optional string x_shard = 13;
30313012

3032-
optional string x_node = 15;
3013+
optional string x_node = 14;
30333014

3034-
optional string x_routing = 16;
3015+
optional string x_routing = 15;
30353016

3036-
optional bytes x_source = 17;
3017+
optional bytes x_source = 16;
30373018

30383019
// The sequence number of the document.
3039-
optional int64 x_seq_no = 18;
3020+
optional int64 x_seq_no = 17;
30403021

3041-
optional int64 x_primary_term = 19;
3022+
optional int64 x_primary_term = 18;
30423023

3043-
optional int64 x_version = 20;
3024+
optional int64 x_version = 19;
30443025

3045-
optional ObjectMap meta_fields = 21;
3026+
optional ObjectMap meta_fields = 20;
30463027
}
30473028
message HitXScore {
30483029
oneof hit_x_score {
@@ -3071,38 +3052,35 @@ message HitsMetadataHitsInner {
30713052

30723053
repeated FieldValue sort = 6;
30733054

3074-
// The type of document or resource.
3075-
optional string x_type = 7;
3076-
3077-
optional string x_index = 8;
3055+
optional string x_index = 7;
30783056

30793057
// The unique identifier for a resource.
3080-
optional string x_id = 9;
3058+
optional string x_id = 8;
30813059

3082-
optional HitXScore x_score = 10;
3060+
optional HitXScore x_score = 9;
30833061

3084-
optional Explanation x_explanation = 11;
3062+
optional Explanation x_explanation = 10;
30853063

3086-
optional NestedIdentity x_nested = 12;
3064+
optional NestedIdentity x_nested = 11;
30873065

3088-
repeated string x_ignored = 13;
3066+
repeated string x_ignored = 12;
30893067

3090-
optional string x_shard = 14;
3068+
optional string x_shard = 13;
30913069

3092-
optional string x_node = 15;
3070+
optional string x_node = 14;
30933071

3094-
optional string x_routing = 16;
3072+
optional string x_routing = 15;
30953073

3096-
optional bytes x_source = 17;
3074+
optional bytes x_source = 16;
30973075

30983076
// The sequence number of the document.
3099-
optional int64 x_seq_no = 18;
3077+
optional int64 x_seq_no = 17;
31003078

3101-
optional int64 x_primary_term = 19;
3079+
optional int64 x_primary_term = 18;
31023080

3103-
optional int64 x_version = 20;
3081+
optional int64 x_version = 19;
31043082

3105-
optional ObjectMap meta_fields = 21;
3083+
optional ObjectMap meta_fields = 20;
31063084
}
31073085
message HitsMetadataJsonValue {
31083086
optional HitsMetadataTotal total = 1;
@@ -3588,9 +3566,6 @@ message LikeDocument {
35883566
optional string x_id = 7;
35893567

35903568
optional string x_index = 8;
3591-
3592-
// The type of document or resource.
3593-
optional string x_type = 9;
35943569
}
35953570
message LinearInterpolationSmoothingModel {
35963571
double bigram_lambda = 1;
@@ -3762,34 +3737,32 @@ message MatchQuery {
37623737
// If `true`, match phrase queries are automatically created for multi-term synonyms.
37633738
optional bool auto_generate_synonyms_phrase_query = 4;
37643739

3765-
optional float cutoff_frequency = 5;
3740+
optional Fuzziness fuzziness = 5;
37663741

3767-
optional Fuzziness fuzziness = 6;
3768-
3769-
optional MultiTermQueryRewrite fuzzy_rewrite = 7;
3742+
optional MultiTermQueryRewrite fuzzy_rewrite = 6;
37703743

37713744
// If `true`, edits for fuzzy matching include transpositions of two adjacent characters (for example, `ab` to `ba`).
3772-
optional bool fuzzy_transpositions = 8;
3745+
optional bool fuzzy_transpositions = 7;
37733746

37743747
// If `true`, format-based errors, such as providing a text query value for a numeric field, are ignored.
3775-
optional bool lenient = 9;
3748+
optional bool lenient = 8;
37763749

37773750
// Maximum number of terms to which the query will expand.
3778-
optional int32 max_expansions = 10;
3751+
optional int32 max_expansions = 9;
37793752

3780-
optional MinimumShouldMatch minimum_should_match = 11;
3753+
optional MinimumShouldMatch minimum_should_match = 10;
37813754

3782-
optional Operator operator = 12;
3755+
optional Operator operator = 11;
37833756

37843757
// Number of beginning characters left unchanged for fuzzy matching.
3785-
optional int32 prefix_length = 13;
3758+
optional int32 prefix_length = 12;
37863759

37873760
// Text, number, Boolean value or date you wish to find in the provided field.
3788-
FieldValue query = 14;
3761+
FieldValue query = 13;
37893762

3790-
optional ZeroTermsQuery zero_terms_query = 15;
3763+
optional ZeroTermsQuery zero_terms_query = 14;
37913764

3792-
string field = 16;
3765+
string field = 15;
37933766
}
37943767
message MatrixAggregation {
37953768
// The custom metadata attached to a resource.
@@ -5160,12 +5133,9 @@ message QueryProfile {
51605133

51615134
string description = 2;
51625135

5163-
// Time unit for nanoseconds.
5164-
int64 time_in_nanos = 3;
5165-
5166-
string type = 4;
5136+
string type = 3;
51675137

5168-
repeated QueryProfile children = 5;
5138+
repeated QueryProfile children = 4;
51695139
}
51705140
message QueryStringQuery {
51715141
// Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score.
@@ -5486,24 +5456,21 @@ message ResponseItem {
54865456

54875457
optional InlineGetDictUserDefined get = 5;
54885458

5489-
// The document type.
5490-
optional string x_type = 6;
5491-
54925459
// The document ID associated with the operation.
5493-
optional string x_id = 7;
5460+
optional string x_id = 6;
54945461

54955462
// The name of the index associated with the operation. If the operation targets a data stream, this is the backing index into which the document was written.
5496-
string x_index = 8;
5463+
string x_index = 7;
54975464

54985465
// The primary term assigned to the document for the operation.
5499-
optional int64 x_primary_term = 9;
5466+
optional int64 x_primary_term = 8;
55005467

55015468
// The sequence number of the document.
5502-
optional int64 x_seq_no = 10;
5469+
optional int64 x_seq_no = 9;
55035470

5504-
optional ShardInfo x_shards = 11;
5471+
optional ShardInfo x_shards = 10;
55055472

5506-
optional int64 x_version = 12;
5473+
optional int64 x_version = 11;
55075474
}
55085475
message ReverseNestedAggregate {
55095476
// The custom metadata attached to a resource.

0 commit comments

Comments
 (0)