Category Component 25.2
Category Component Help

# 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 you specify.

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

## Format

    FieldText=TERMEXACT{yourTerms}:yourFields

`yourTerms` | One or more terms. A document returns only 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) or consist of several words. Separate multiple terms with commas. There must be no space before or after a comma. 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 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

The `DRETITLE` field value must contain the term `help` or `helped`. For example, if the `DRETITLE` field has the value helps or helping, the document does not return.

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

The `FILE` or `DATEI` field value must contain the term `Word` or `Excel`. For example, if the `FILE` or `DATEI` field has the value `WordPerfect`, the document is not returned.

## See also

- DefaultLanguageType configuration parameter

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 Category Component 25.2

Topic Title: TERMEXACT