提供意見
SearchHint
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法
{
// 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.
}
欄位
聯集欄位 index_type。要使用的索引類型。index_type 只能是下列其中一個設定:
useIndex
object (IndexHint )
選用。指定搜尋應使用特定索引。
useKnn
boolean
選用。如果設為 true,搜尋作業會使用系統預設的 K 近鄰 (KNN) 索引引擎。
IndexHint
JSON 表示法
{
"name" : string
}
欄位
name
string
這是必要旗標,用於搜尋的索引資源名稱。索引必須位於相同專案、位置和集合。格式:projects/{project}/locations/{location}/collections/{collection}/indexes/{index}
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-01-29 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-01-29 (世界標準時間)。"],[],[]]