IDOL Category Component 12.11

# TERMEXACTPHRASE

The `TERMEXACTPHRASE` field specifier (case sensitive) allows you to return documents in which a specified field contains an exact match of a phrase specified by you. Your phrase is matched before stemming is applied (stop words are not removed). Any punctuation in the specifier or field is ignored.

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=TERMEXACTPHRASE{yourPhrase}:yourFields

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

## Example

    FieldText=TERMEXACTPHRASE{Batman! and Robins}:FILM

A document whose `FILM` field contains `Showing now, Batman and Robin's film`, is returned as a result, while a document whose `FILM` field contains Showing now, 'Batman`and Robin' the movie` is not returned.

    FieldText=TERMEXACTPHRASE{gift horse }:DRETITLE:TITLE

A document whose `DRETITLE` or `TITLE` field contains `looking a gift horse in the mouth`, is returned as a result, while a document whose `DRETITLE` or `TITLE` field contains the `gift horse's mouth had rotting teeth` is not returned.

## See Also

- DefaultLanguageType configuration parameter

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 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 IDOL Category Component 12.11

Topic Title: TERMEXACTPHRASE