IDOL Category Component 24.2

# 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: Strings in the query should be percent-encoded. This ensures that any commas or curly braces that are part of a string are not interpreted as query syntax. If you are sending HTTP requests using the content-type `application/x-www-form-urlencoded` you should then percent-encode all parameter values, meaning that any commas or curly braces that are part of a string are percent-encoded twice (such that a comma is represented by the sequence `%252c`). For more information, see Percent Encoding in Queries.
`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

- MATCH Field Specifier

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 24.2

Topic Title: WILD