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 MatchType property type.

Format

FieldText=WILD{yourStrings}:yourFields
yourStrings

Type one or more strings containing wildcards. A document is only returned if one of yourFields matches one of these strings.You can match strings that contain punctuation (but see Note below) or consist of several words.

NOTE:

To distinguish query syntax punctuation from punctuation within strings, double-percent-encode commas and curly braces within strings. Query syntax punctuation must be left unencoded. There must be no space before or after a separator comma.

yourFields Type one or more fields. A document is only returned 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

A document's URL field value must end with html or htm for this document to be returned as a result.

FieldText=WILD{passi*incarnata}:Climbers:Plants

A document's Climbers or Plants field value must contain a phrase that begins with passi and ends with incarnata (for example, passionflower incarnata or passiflora incarnata) for this document to be returned as a result.

FieldText=WILD{*www.example.com*.txt}:PATH

A document's 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) for this document to be returned as a result.

FieldText=WILD{wom?n }:Clothes

A document's Clothes field value must contain a word that matches the specified wildcard string (for example, woman or women) for this document to be returned as a result.

See Also


_HP_HTML5_bannerTitle.htm