IDOL Category Component 24.4
IDOL Category 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 `MatchType` property type.

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

## Format

    FieldText=MATCHALL{yourStrings}:yourField

`yourStrings` | One or more strings. A document is returned 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 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.
`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 2024 Open Text
Version 24.4 | Last updated September 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.4

Topic Title: MATCHALL