Response for a search request.
| JSON representation |
|---|
{ "results": [ { object ( |
| Fields | |
|---|---|
results[] |
Output only. The list of dataObjects that match the search criteria. |
nextPageToken |
Output only. A token to retrieve next page of results. Pass to [DataObjectSearchService.SearchDataObjectsRequest.page_token][] to obtain that page. |
searchResponseMetadata |
Output only. Metadata about the search execution. |
SearchResult
A single search result.
| JSON representation |
|---|
{
"dataObject": {
object ( |
| Fields | |
|---|---|
dataObject |
Output only. The matching data object. |
distance |
Output only. The similarity distance. |
SearchResponseMetadata
Metadata about the search execution.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field index_type. The type of index used. index_type can be only one of the following: |
|
usedIndex |
Indicates that the search used a particular index. |
usedKnn |
Output only. If true, the search used the system's default K-Nearest Neighbor (KNN) index engine. |
IndexInfo
Message that indicates the index used for the search.
| JSON representation |
|---|
{ "name": string } |
| Fields | |
|---|---|
name |
Output only. The resource name of the index used for the search. Format: |