Reference documentation and code samples for the Google Cloud Vector Search V1 Client class SearchHint.
Represents a hint to the search index engine.
Generated from protobuf message google.cloud.vectorsearch.v1.SearchHint
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ knn_hint
SearchHint\KnnHint
Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
↳ index_hint
getKnnHint
Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
hasKnnHint
setKnnHint
Optional. If set, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
$this
getIndexHint
Optional. Specifies that the search should use a particular index.
hasIndexHint
setIndexHint
Optional. Specifies that the search should use a particular index.
$this
getIndexType
string

