condition property

String? condition
getter/setter pair

The condition under which query expansion should occur.

Default to Condition.DISABLED. Possible string values are:

  • "CONDITION_UNSPECIFIED" : Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.
  • "DISABLED" : Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.
  • "AUTO" : Automatic query expansion built by Google Retail Search.

Implementation

core.String? condition;