public static interface SearchHint.IndexHint.DenseScannParamsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInitialCandidateCount()
public abstract int getInitialCandidateCount() Optional. The number of initial candidates. Must be a positive integer
(> 0). Not supported for STORAGE_OPTIMIZED indexes. Cannot be set
together with target_recall.
int32 initial_candidate_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The initialCandidateCount. |
getSearchLeavesPct()
public abstract int getSearchLeavesPct() Optional. Dense ANN param overrides to control recall and latency.
The percentage of leaves to search, in the range [0, 100].
Not supported for STORAGE_OPTIMIZED indexes.
Cannot be set together with target_recall.
int32 search_leaves_pct = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The searchLeavesPct. |
getTargetRecall()
public abstract double getTargetRecall()Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
optional double target_recall = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The targetRecall. |
hasTargetRecall()
public abstract boolean hasTargetRecall()Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
optional double target_recall = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetRecall field is set. |