Content Component 25.4
Content Component Help

# TERMEXACTALL

The `TERMEXACTALL` field specifier (case sensitive) allows you to find documents with a specified field that contains an exact match of all 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=TERMEXACTALL{yourTerms}:yourFields

`yourTerms` | Multiple terms. A document returns only if one of `yourFields` contains exact matches 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 all `yourTerms`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=TERMEXACTALL{rabbits,eating,carrots}:DRETITLE

The `DRETITLE` field must contain all the specified terms, in their specified form. For example, if the `DRETITLE` field has the value `Rabbits like eating carrots` or `The carrots were there but the rabbits ate all the cabbage`, the document returns as a result, while a document with a field that contains `Rabbits like to eat a carrot each day` does not return.

    FieldText=TERMEXACTALL{flour,milk,eggs}:DRETITLE:TITLE

The `DRETITLE` or `TITLE` field must contain all the specified terms, in their specified form. For example, if the `DRETITLE` or `TITLE` field has the value `Most cake recipes include milk, eggs and flour`, the document returns as a result, while a document with a field that contains `Use a cup of milk, two cups of flour and one egg` does not return.

## See Also

- DefaultLanguageType configuration parameter

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Content Component 25.4

Topic Title: TERMEXACTALL