Enum SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior (0.81.0)

public enum SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior extends Enum<SearchRequest.NaturalLanguageQueryUnderstandingSpec.ExtractedFilterBehavior> implements ProtocolMessageEnum

Enum describing how extracted filters are applied to the search.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED

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.

EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0;

EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED_VALUE

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.

EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0;

HARD_FILTER

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.

HARD_FILTER = 1;

HARD_FILTER_VALUE

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.

HARD_FILTER = 1;

SOFT_BOOST

Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set.

SOFT_BOOST = 2;

SOFT_BOOST_VALUE

Applies all extracted filters as soft boosts. Results that pass the filters will be boosted up to higher ranks in the result set.

SOFT_BOOST = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()