SearchHint
Stay organized with collections
Save and categorize content based on your preferences.
Represents a hint to the search index engine.
JSON representation
{// Union field index_type can be only one of the following:"useIndex": {object (IndexHint)},"useKnn": boolean// End of list of possible types for union field index_type.}
Fields
Union field index_type. The type of index to use. index_type can be only one of the following:
Optional. Specifies that the search should use a particular index.
useKnn
boolean
Optional. If set to true, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
IndexHint
Message to specify the index to use for the search.
JSON representation
{"name": string}
Fields
name
string
Required. The resource name of the index to use for the search. The index must be in the same project, location, and collection. Format: projects/{project}/locations/{location}/collections/{collection}/indexes/{index}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-29 UTC."],[],[]]