Skip to content

Commit f4ac8b9

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 da9bafd commit f4ac8b9

1 file changed

Lines changed: 32 additions & 53 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 32 additions & 53 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;
@@ -3762,34 +3746,32 @@ message MatchQuery {
37623746
// If `true`, match phrase queries are automatically created for multi-term synonyms.
37633747
optional bool auto_generate_synonyms_phrase_query = 4;
37643748

3765-
optional float cutoff_frequency = 5;
3766-
3767-
optional Fuzziness fuzziness = 6;
3749+
optional Fuzziness fuzziness = 5;
37683750

3769-
optional MultiTermQueryRewrite fuzzy_rewrite = 7;
3751+
optional MultiTermQueryRewrite fuzzy_rewrite = 6;
37703752

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

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

37773759
// Maximum number of terms to which the query will expand.
3778-
optional int32 max_expansions = 10;
3760+
optional int32 max_expansions = 9;
37793761

3780-
optional MinimumShouldMatch minimum_should_match = 11;
3762+
optional MinimumShouldMatch minimum_should_match = 10;
37813763

3782-
optional Operator operator = 12;
3764+
optional Operator operator = 11;
37833765

37843766
// Number of beginning characters left unchanged for fuzzy matching.
3785-
optional int32 prefix_length = 13;
3767+
optional int32 prefix_length = 12;
37863768

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

3790-
optional ZeroTermsQuery zero_terms_query = 15;
3772+
optional ZeroTermsQuery zero_terms_query = 14;
37913773

3792-
string field = 16;
3774+
string field = 15;
37933775
}
37943776
message MatrixAggregation {
37953777
// The custom metadata attached to a resource.
@@ -5160,12 +5142,9 @@ message QueryProfile {
51605142

51615143
string description = 2;
51625144

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

5168-
repeated QueryProfile children = 5;
5147+
repeated QueryProfile children = 4;
51695148
}
51705149
message QueryStringQuery {
51715150
// 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.

0 commit comments

Comments
 (0)