Google Cloud Discovery Engine V1 Client - Class ExtractedFilterBehavior (1.11.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ExtractedFilterBehavior.

Enum describing how extracted filters are applied to the search.

Protobuf type google.cloud.discoveryengine.v1.SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest \ NaturalLanguageQueryUnderstandingSpec

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED

Value: 0

EXTRACTED_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.

Generated from protobuf enum EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0;

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.

Generated from protobuf enum HARD_FILTER = 1;

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.

Generated from protobuf enum SOFT_BOOST = 2;