Class: Google::Cloud::VisionAI::V1::SearchCriteriaProperty
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::SearchCriteriaProperty
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Central configuration for custom search criteria.
Instance Attribute Summary collapse
-
#mapped_fields ⇒ ::Array<::String>
Each mapped_field corresponds to a UGA key.
Instance Attribute Details
#mapped_fields ⇒ ::Array<::String>
Returns Each mapped_field corresponds to a UGA key. To understand how this property works, take the following example. In the SearchConfig table, the user adds this entry: search_config { name: "person" search_criteria_property { mapped_fields: "player" mapped_fields: "coach" } }
Now, when a user issues a query like: criteria { field: "person" text_array { txt_values: "Tom Brady" txt_values: "Bill Belichick" } }
MWH search will return search documents where (player=Tom Brady || coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick).
2397 2398 2399 2400 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2397 class SearchCriteriaProperty include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |