Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec.
Relevance filtering specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#keyword_search_threshold
def keyword_search_threshold() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for keyword search.
#keyword_search_threshold=
def keyword_search_threshold=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for keyword search.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for keyword search.
#semantic_search_threshold
def semantic_search_threshold() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for semantic search.
#semantic_search_threshold=
def semantic_search_threshold=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for semantic search.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec) — Optional. Relevance filtering threshold specification for semantic search.