Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy.
The search strategy for annotations value of the key
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence_score_index_config
def confidence_score_index_config() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig) — Optional. Configs the path to the confidence score, and the threshold. Only if the score is greater than the threshold, current field will be built into the index. Only applies to leaf nodes using EXACT_SEARCH or SMART_SEARCH.
#confidence_score_index_config=
def confidence_score_index_config=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig
Parameter
- value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig) — Optional. Configs the path to the confidence score, and the threshold. Only if the score is greater than the threshold, current field will be built into the index. Only applies to leaf nodes using EXACT_SEARCH or SMART_SEARCH.
Returns
- (::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig) — Optional. Configs the path to the confidence score, and the threshold. Only if the score is greater than the threshold, current field will be built into the index. Only applies to leaf nodes using EXACT_SEARCH or SMART_SEARCH.
#search_strategy_type
def search_strategy_type() -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::SearchStrategyType
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::SearchStrategyType) — The type of search strategy to be applied on the
key
above. The allowedsearch_strategy_type
is different for different data types, which is documented in the DataSchemaDetails.DataType. Specifying unsupportedsearch_strategy_type
for data types will result in INVALID_ARGUMENT error.
#search_strategy_type=
def search_strategy_type=(value) -> ::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::SearchStrategyType
Parameter
-
value (::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::SearchStrategyType) — The type of search strategy to be applied on the
key
above. The allowedsearch_strategy_type
is different for different data types, which is documented in the DataSchemaDetails.DataType. Specifying unsupportedsearch_strategy_type
for data types will result in INVALID_ARGUMENT error.
Returns
-
(::Google::Cloud::VisionAI::V1::DataSchemaDetails::SearchStrategy::SearchStrategyType) — The type of search strategy to be applied on the
key
above. The allowedsearch_strategy_type
is different for different data types, which is documented in the DataSchemaDetails.DataType. Specifying unsupportedsearch_strategy_type
for data types will result in INVALID_ARGUMENT error.