Distributed Action Handler 12.12

# TERMEXACT

The `TERMEXACT` field specifier (case sensitive) allows you to find documents with a specified field that contains an exact match of any of the terms specified by you.

NOTE: If the language that you are using does not match the `DefaultLanguageType` that you have specified in the IDOL Server configuration file, you must add the `LanguageType` parameter to your query action.

## Format

    FieldText=TERMEXACT{yourTerms}:yourFields

`yourTerms` | Type one or more terms. A document is only returned if one of `yourFields` contains a value that exactly matches one of the specified terms. 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 an exact match of one of `yourTerms`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=TERMEXACT{help,helped}:DRETITLE

A document's `DRETITLE` field value must contain the term `help` or `helped` for this document to be returned. If a document's `DRETITLE` field, for example, has the value helps or helping, the document is not returned.

    FieldText=TERMEXACT{Word,Excel}:FILE:DATEI

A document's `FILE` or `DATEI` field value must contain the term `Word` or `Excel` for this document to be returned. If a document's `FILE` or `DATEI` field, for example, has the value `WordPerfect`, the document is not returned.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 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.12

Topic Title: TERMEXACT