View Component 25.2
View Component Help

# MATCHALL

The `MATCHALL` field specifier (case sensitive) allows you to find documents in which a specified field occurs in multiple instances, and in which there is at least one match among those instances for each of a set of strings that you specify.

NOTE: You can optimize the field specifier speed by restricting the field to the property type.

To use the `MATCHALL` field specifier against fields that were added using the index action, you must define the fields as .

## Format

    FieldText=MATCHALL{yourStrings}:yourField

`yourStrings` | One or more strings. A document returns only if all these strings have exact matches among the instances of `yourField`. The matching is case-independent. You can match strings that contain punctuation (but see Note) 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.
`yourField` | The name of the field to match against. A document returns only if it contains the field and only if all `yourStrings` are matched at least once in various instances of the field.

## Example

    FieldText=MATCHALL{Archive,Web,docs}:DIRECTORY

The `DIRECTORY` fields must include at least the values `Archive` and `Web` and `docs` for the document to return as a result.

    FieldText=MATCHALL{Smith,Garcia,Lee}:SURNAME

The values `Smith`, `Garcia`, and `Lee` must all have matches in the `SURNAME` fields for the document to return as a result.

    FieldText=MATCHALL{Smith%2C John, Garcia%2C Joaquin}:FULLNAME

The values `Smith`, `John` and `Garcia`, `Joaquin` must both have matches in the `FULLNAME` fields for the document to return as a result.

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: MATCHALL