searchableOption property

String? searchableOption
getter/setter pair

When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search.

If SEARCHABLE_ENABLED but attribute type is numerical, attribute values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical attributes. Must be specified, when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error. Possible string values are:

  • "SEARCHABLE_OPTION_UNSPECIFIED" : Value used when unset.
  • "SEARCHABLE_ENABLED" : Searchable option enabled for an attribute.
  • "SEARCHABLE_DISABLED" : Searchable option disabled for an attribute.

Implementation

core.String? searchableOption;