View Component 25.2
View Component Help

# 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 `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 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 `application/x-www-form-urlencoded` you must 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` | 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

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

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: Knowledge Discovery View Component 25.2

Topic Title: WILD