SearchCriteriaProperty(mapping=None, *, ignore_unknown_fields=False, **kwargs)Central configuration for custom search criteria.
Attribute |
|
|---|---|
| Name | Description |
mapped_fields |
MutableSequence[str]
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). |