Distributed Action Handler 12.13

# 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 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 Distributed Action Handler 12.13

Topic Title: MATCHALL