Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec::ExtractedFilterBehavior.
Enum describing how extracted filters are applied to the search.
Constants
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED
value: 0EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED will use the default behavior
for extracted filters. For single datastore search, the default is to
apply as hard filters. For multi-datastore search, the default is to
apply as soft boosts.
HARD_FILTER
value: 1
Applies all extracted filters as hard filters on the results. Results
that do not pass the extracted filters will not be returned in the
result set.
SOFT_BOOST
value: 2
Applies all extracted filters as soft boosts. Results that pass the
filters will be boosted up to higher ranks in the result set.