Reference documentation and code samples for the Google Cloud Vector Search V1 Client class SearchDataObjectsRequest.
Request for performing a single search.
Generated from protobuf message google.cloud.vectorsearch.v1.SearchDataObjectsRequest
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ vector_search
↳ semantic_search
↳ text_search
↳ parent
string
Required. The resource name of the Collection for which to search. Format: projects/{project}/locations/{location}/collections/{collection}
↳ page_size
int
Optional. The standard list page size. Only supported for KNN. If not set, up to search_type.top_k results will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
↳ page_token
string
Optional. The standard list page token. Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call.
getVectorSearch
A vector search operation.
hasVectorSearch
setVectorSearch
A vector search operation.
$this
getSemanticSearch
A semantic search operation.
hasSemanticSearch
setSemanticSearch
A semantic search operation.
$this
getTextSearch
Optional. A text search operation.
hasTextSearch
setTextSearch
Optional. A text search operation.
$this
getParent
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
string
setParent
Required. The resource name of the Collection for which to search.
Format: projects/{project}/locations/{location}/collections/{collection}
var
string
$this
getPageSize
Optional. The standard list page size. Only supported for KNN. If not set, up to search_type.top_k results will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int
setPageSize
Optional. The standard list page size. Only supported for KNN. If not set, up to search_type.top_k results will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
var
int
$this
getPageToken
Optional. The standard list page token.
Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call.
string
setPageToken
Optional. The standard list page token.
Typically obtained via SearchDataObjectsResponse.next_page_token of the previous DataObjectSearchService.SearchDataObjects call.
var
string
$this
getSearchType
string

