TextSearch

定義文字搜尋作業。

JSON 表示法
{
  "searchText": string,
  "dataFieldNames": [
    string
  ],
  "outputFields": {
    object (OutputFields)
  },
  "filter": {
    object
  },
  "topK": integer
}
欄位
searchText

string

這是必要旗標,查詢文字。

dataFieldNames[]

string

這是必要旗標,要搜尋的資料欄位名稱。

outputFields

object (OutputFields)

選用。搜尋結果中要傳回的欄位。

filter

object (Struct format)

選用。JSON 篩選運算式,例如 {"genre": {"$eq": "sci-fi"}},以 google.protobuf.Struct 表示。

topK

integer

選用。要傳回的結果數。