Criteria

应用于当前搜索结果的过滤条件。

JSON 表示法
{
  "field": string,
  "fetchMatchedAnnotations": boolean,

  // Union field value can be only one of the following:
  "textArray": {
    object (StringArray)
  },
  "intRangeArray": {
    object (IntRangeArray)
  },
  "floatRangeArray": {
    object (FloatRangeArray)
  },
  "dateTimeRangeArray": {
    object (DateTimeRangeArray)
  },
  "geoLocationArray": {
    object (GeoLocationArray)
  },
  "boolValue": {
    object (BoolValue)
  }
  // End of list of possible types for union field value.
}
字段
field

string

用于应用过滤条件的 UGA 字段或 ML 字段。

fetchMatchedAnnotations

boolean

如果为 true,则返回与此条件匹配的查询注释。此选项仅适用于包含条件(即非排除条件),且包含分区级注解。它支持以下数据类型:- INTEGER - FLOAT - STRING(仅限 DataSchema.SearchStrategy.EXACT_SEARCH)- BOOLEAN

联合字段 value

value 只能是下列其中一项:

textArray

object (StringArray)

与字段关联的文本值。

intRangeArray

object (IntRangeArray)

与字段关联的整数范围。

floatRangeArray

object (FloatRangeArray)

与字段关联的浮点范围。

dateTimeRangeArray

object (DateTimeRangeArray)

与字段关联的日期时间范围。

geoLocationArray

object (GeoLocationArray)

地理位置数组。

boolValue

object (BoolValue)

布尔值。

StringArray

字符串类型值的列表。

JSON 表示法
{
  "txtValues": [
    string
  ]
}
字段
txtValues[]

string

字符串类型值。

IntRangeArray

整数范围值的列表。

JSON 表示法
{
  "intRanges": [
    {
      object (IntRange)
    }
  ]
}
字段
intRanges[]

object (IntRange)

整数范围值。

IntRange

整数范围类型。

JSON 表示法
{
  "start": string,
  "end": string
}
字段
start

string (int64 format)

int 范围的起始值。

end

string (int64 format)

int 范围的结束值。

FloatRangeArray

浮点范围值的列表。

JSON 表示法
{
  "floatRanges": [
    {
      object (FloatRange)
    }
  ]
}
字段
floatRanges[]

object (FloatRange)

浮点范围值。

FloatRange

浮点范围类型。

JSON 表示法
{
  "start": number,
  "end": number
}
字段
start

number

浮点范围的起始值。

end

number

浮点范围的结束。

GeoLocationArray

营业地点列表。

JSON 表示法
{
  "circleAreas": [
    {
      object (CircleArea)
    }
  ]
}
字段
circleAreas[]

object (CircleArea)

圆形区域列表。

CircleArea

圆形区域的表示。

JSON 表示法
{
  "latitude": number,
  "longitude": number,
  "radiusMeter": number
}
字段
latitude

number

圆形区域中心的纬度。度数 [-90 到 90]

longitude

number

圆形区域中心的经度。度数 [-180 到 180]

radiusMeter

number

圆形区域的半径(以米为单位)。

BoolValue

JSON 表示法
{
  "value": boolean
}
字段
value

boolean