Reference documentation and code samples for the Google Cloud Vector Search V1 Client class DenseScannParams.
Parameters for dense ScaNN.
Generated from protobuf message google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams
Namespace
Google \ Cloud \ VectorSearch \ V1 \ SearchHint \ IndexHintMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_leaves_pct |
int
Optional. Dense ANN param overrides to control recall and latency. The percentage of leaves to search, in the range [0, 100]. |
↳ initial_candidate_count |
int
Optional. The number of initial candidates. Must be a positive integer (> 0). |
getSearchLeavesPct
Optional. Dense ANN param overrides to control recall and latency.
The percentage of leaves to search, in the range [0, 100].
| Returns | |
|---|---|
| Type | Description |
int |
|
setSearchLeavesPct
Optional. Dense ANN param overrides to control recall and latency.
The percentage of leaves to search, in the range [0, 100].
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInitialCandidateCount
Optional. The number of initial candidates. Must be a positive integer (> 0).
| Returns | |
|---|---|
| Type | Description |
int |
|
setInitialCandidateCount
Optional. The number of initial candidates. Must be a positive integer (> 0).
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|