Skip to content

Commit badd386

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: update the v1 service definition to add the fraction_leaf_nodes_to_search_override field which replaces leaf_nodes_to_search_percent_override.
PiperOrigin-RevId: 515409548
1 parent de9cd42 commit badd386

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

google/cloud/aiplatform/matching_engine/_protos/match_service.proto

+6-3
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,15 @@ message MatchRequest {
5454
// config is used; if set, this value must be > 0.
5555
int32 approx_num_neighbors = 6;
5656

57+
// TO BE DEPRECATED. Use [fraction_leaf_nodes_to_search_override] instead.
58+
int32 leaf_nodes_to_search_percent_override = 7;
59+
5760
// The fraction of the number of leaves to search, set at query time allows
5861
// user to tune search performance. This value increase result in both search
5962
// accuracy and latency increase. The value should be between 0.0 and 1.0. If
6063
// not set or set to 0.0, query uses the default value specified in
61-
// NearestNeighborSearchConfig.TreeAHConfig.leaf_nodes_to_search_percent.
62-
int32 leaf_nodes_to_search_percent_override = 7;
64+
// NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search.
65+
double fraction_leaf_nodes_to_search_override = 9;
6366

6467
// If set to true, besides the doc id, query result will also include the
6568
// embedding. Set this value may impact the query performance (e.g, increase
@@ -182,4 +185,4 @@ message Namespace {
182185
// query will match datapoints that are red or blue, but if those points are
183186
// also purple, then they will be excluded even if they are red/blue.
184187
repeated string deny_tokens = 3;
185-
}
188+
}

0 commit comments

Comments
 (0)