VectorSearchSearcher(
self,
endpoint: MatchingEngineIndexEndpoint | None,
index: MatchingEngineIndex | None = None,
staging_bucket:| Name | Type | Description |
|---|---|---|
endpoint* | MatchingEngineIndexEndpoint | None | The index endpoint (v1 only, None for v2). |
index | MatchingEngineIndex | None | Default: NoneThe index object (v1 only, None for v2). |
collection | SimpleNamespace | None | Default: NoneThe collection object (v2 only, None for v1). |
staging_bucket | storage.Bucket | None | Default: None |
stream_update | bool | Default: False |
api_version | str | Default: 'v1' |
project_id | str | None | Default: None |
region | str | None | Default: None |
credentials | Any | Default: None |
vector_field_name | str | Default: 'embedding' |
Class to interface with Vector Search indexes (v1) and collections (v2).
GCS bucket for staging data (v1 only).
Whether to use streaming updates. (v1 only).
Version of the Vector Search API ("v1" or "v2").
GCP project ID (v2 only).
GCP region (v2 only).
GCP credentials (v2 only).
Name of the vector field in the schema (v2 only).