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}