Skip to content

Commit cecc73b

Browse files
Google APIscopybara-github
authored andcommitted
fix!: Removed field DenseScannParams from SearchHint
docs: Changed default values for max_replica_count for AutoScaling PiperOrigin-RevId: 878465659
1 parent 1fa95b7 commit cecc73b

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

google/cloud/vectorsearch/v1/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ load(
348348

349349
csharp_proto_library(
350350
name = "vectorsearch_csharp_proto",
351+
extra_opts = [],
351352
deps = [":vectorsearch_proto"],
352353
)
353354

google/cloud/vectorsearch/v1/data_object_search_service.proto

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -101,25 +101,6 @@ message OutputFields {
101101
message SearchHint {
102102
// Message to specify the index to use for the search.
103103
message IndexHint {
104-
// Parameters for dense ScaNN.
105-
message DenseScannParams {
106-
// Optional. Dense ANN param overrides to control recall and latency.
107-
// The percentage of leaves to search, in the range [0, 100].
108-
int32 search_leaves_pct = 1 [(google.api.field_behavior) = OPTIONAL];
109-
110-
// Optional. The number of initial candidates. Must be a positive integer
111-
// (> 0).
112-
int32 initial_candidate_count = 2
113-
[(google.api.field_behavior) = OPTIONAL];
114-
}
115-
116-
// The parameters for the index.
117-
oneof params {
118-
// Optional. Dense ScaNN parameters.
119-
DenseScannParams dense_scann_params = 2
120-
[(google.api.field_behavior) = OPTIONAL];
121-
}
122-
123104
// Required. The resource name of the index to use for the search.
124105
// The index must be in the same project, location, and collection.
125106
// Format:

google/cloud/vectorsearch/v1/vectorsearch_service.proto

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,12 +659,15 @@ message DedicatedInfrastructure {
659659
// Specification for autoscaling.
660660
message AutoscalingSpec {
661661
// Optional. The minimum number of replicas. If not set or set to `0`,
662-
// defaults to `2`. Must be >= `2` and <= `1000`.
662+
// defaults to `2`. Must be >= `1` and <= `1000`.
663663
int32 min_replica_count = 1 [(google.api.field_behavior) = OPTIONAL];
664664

665-
// Optional. The maximum number of replicas. If not set or set to `0`,
666-
// defaults to the greater of `min_replica_count` and `5`. Must be >=
665+
// Optional. The maximum number of replicas. Must be >=
667666
// `min_replica_count` and <= `1000`.
667+
// For the v1beta version, if not set or set to `0`, defaults to
668+
// the greater of `min_replica_count` and `5`.
669+
// For all other versions, if not set or set to `0`, defaults to
670+
// the greater of `min_replica_count` and `2`.
668671
int32 max_replica_count = 2 [(google.api.field_behavior) = OPTIONAL];
669672
}
670673

0 commit comments

Comments
 (0)