WildcardQuery matches field values against a pattern containing wildcard characters. Use an asterisk (*) to match any sequence of characters, or a question mark (?) to match any single character. The pattern can start with a wildcard character. For example, tablee matches tablestore.
Data structure
message WildcardQuery {
optional string field_name = 1;
optional string value = 2;
optional float weight = 3;
}
|
Name |
Type |
Required |
Description |
|
field_name |
string |
Yes |
The field name. |
|
value |
string |
Yes |
The wildcard pattern to match against. Cannot exceed 32 characters. |
|
weight |
float |
No |
The weight of the query condition. |