Open topic with navigation

# TERMEXACTALL

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

`yourTerms` | Type multiple terms. A document is only returned if one of `yourFields` contains exact matches of the specified terms. You can match strings that contain punctuation (but see Note below) or consist of several words. Note: To distinguish query syntax punctuation from punctuation within strings, double-percent-encode commas and curly braces within strings. Query syntax punctuation must be left unencoded. There must be no space before or after a separator comma.
`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 all `yourTerms`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

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

This query returns only documents whose `DRETITLE` field contains all the specified terms (in their specified form). For example, a document whose `DRETITLE` field has the value `Rabbits like eating carrots` or `The carrots were there but the rabbits ate all the cabbage` is returned as a result, while a document with a field that contains `Rabbits like to eat a carrot each day` is not returned.

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

This query returns only documents whose `DRETITLE` or `TITLE` field contains all the specified terms (in their specified form). For example, a document whose `DRETITLE` or `TITLE` field has the value `Most cake recipes include milk, eggs and flour` is returned as a result, while a document with a field that contains `Use a cup of milk, two cups of flour and one egg` is not returned.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm