IDOL Category Component 12.13

# Fields whose Value Matches Wildcard Strings

## 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 *), the `WILD` field specifier acts in the same way as the `MATCH` field specifier.

    FieldText=WILD{yourStrings}:yourFields

where:

`yourStrings` | is one or more strings that contain Wildcards. A document returns only if one of `yourFields` matches one of these strings. FieldText queries which include commas and braces within the query have specific percent-encoding requirements. For information about percent-encoding, see FieldText.
`yourFields` | is one or more fields. A document returns only if it contains one of these fields, and if this field contains one of `yourStrings`. If you want to specify multiple fields, separate them with colons (there must be no space before or after a colon).

Examples:

    FieldText=WILD{*.html,*.htm}:URL

The `URL` field value must end with .html or .htm for this document to return as a result.

    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) for this document to return as a result.

    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) for the document to return as a result.

    FieldText=WILD{wom?n }:Clothes

The `Clothes` field value must contain a word that matches the specified Wildcard string (for example, woman or women) for this document to return as a result.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.13

Topic Title: Fields whose Value Matches Wildcard Strings