Skip to content

Commit 3e6a5fc

Browse files
committed
Protobuf schema change detected
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent de32498 commit 3e6a5fc

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

protos/schemas/common.proto

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,8 @@ message QueryContainer {
14451445
// To combine relevance scores from multiple queries into one score for a given document.
14461446
HybridQuery hybrid = 32;
14471447

1448+
StoredLtrQuery sltr = 33;
1449+
14481450
}
14491451
}
14501452

@@ -2342,7 +2344,7 @@ message TermsLookup {
23422344
string index = 1;
23432345

23442346
// The unique identifier for a resource.
2345-
string id = 2;
2347+
string id = 2 [deprecated = true];
23462348

23472349
// The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
23482350
string path = 3;
@@ -2351,6 +2353,13 @@ message TermsLookup {
23512353
optional string routing = 4;
23522354

23532355
optional bool store = 5;
2356+
oneof terms_lookup {
2357+
// The unique identifier for a resource.
2358+
string id_2 = 6;
2359+
2360+
QueryContainer query = 7;
2361+
2362+
}
23542363
}
23552364

23562365
message FieldValueArray {
@@ -3472,6 +3481,25 @@ message CreatePitRequest {
34723481
optional GlobalParams global_params = 10;
34733482
}
34743483

3484+
message StoredLtrQuery {
3485+
3486+
repeated string active_features = 1;
3487+
3488+
optional float boost = 2;
3489+
3490+
optional bool cache = 3;
3491+
3492+
optional string featureset = 4;
3493+
3494+
optional string model = 5;
3495+
3496+
ObjectMap params = 6;
3497+
3498+
optional string store = 7;
3499+
3500+
optional string x_name = 8;
3501+
}
3502+
34753503
enum FieldValueFactorModifier {
34763504
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0;
34773505
FIELD_VALUE_FACTOR_MODIFIER_LN = 1;

0 commit comments

Comments
 (0)