WILD
The WILD
field specifier (case sensitive) allows you to find documents in which a specified field contains a string that matches a specified wildcard string.
If the query does not contain any wildcard characters (?
or *
) then the WILD
field specifier acts in the same way as the MATCH field specifier.
NOTE: The field specifier speed can be optimized by restricting the field to the
property type.
Format
FieldText=WILD{yourStrings}:yourFields
yourStrings
|
One or more strings containing wildcards. A document returns only if one of NOTE: Strings in the query must be percent-encoded to ensure that any commas or curly braces that are part of a string are not interpreted as query syntax. If you send HTTP requests using the content-type |
yourFields
|
One or more fields. A document returns only if it contains one of these fields, and if this field contains one of yourStrings . Separate multiple fields with colons (: ). There must be no space before or after a colon. |
Example
FieldText=WILD{*.html,*.htm}:URL
The URL
field value must end with html
or htm
.
FieldText=WILD{passi*incarnata}:Climbers:Plants
The Climbers
or Plants
field value must contain a phrase that begins with passi
and ends with incarnata
, for example, passionflower incarnata
or passiflora incarnata
.
FieldText=WILD{*www.example.com*.txt}:PATH
The PATH
field value must contain a path that contains www.example.com
and ends with .txt
, for example, http://www.example.com/files/doc.txt
.
FieldText=WILD{wom?n }:Clothes
The Clothes
field value must contain a word that matches the specified wildcard string, for example, woman or women.
See Also
-
MATCH Field Specifier