Class SearchConfig (0.1.4)

SearchConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

SearchConfig stores different properties that will affect search behaviors and search results.

Attributes

Name Description
name str
Resource name of the search configuration. For CustomSearchCriteria, search_config would be the search operator name. For Facets, search_config would be the facet dimension name. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}
facet_property google.cloud.visionai_v1.types.FacetProperty
Establishes a FacetDimension and associated specifications.
search_criteria_property google.cloud.visionai_v1.types.SearchCriteriaProperty
Creates a mapping between a custom SearchCriteria and one or more UGA keys.