Community Component 25.4
Community Component Help

# TERMPHRASE

The `TERMPHRASE` field specifier (case sensitive) allows you to return documents in which a specified field contains a conceptual match of a phrase you specify. Your phrase is matched after 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 Content component configuration file, you must add the parameter to your query action.

## Format

    FieldText=TERMPHRASE{yourPhrase}:yourFields

`yourPhrase` | A phrase. A document returns only if one of `yourFields` contains a conceptual match of the specified phrase.
`yourFields` | One or more fields. A document returns only if it contains one of these fields, and if this field contains a conceptual match of `yourPhrase`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=TERMPHRASE{Batman! and Robins}:FILM

A document where the `FILM` field contains `Showing now: 'Batman and Robin'` returns as a result.

    FieldText=TERMPHRASE{gift horse }:DRETITLE:TITLE

A document where the `DRETITLE` or `TITLE` field contains the value `gift horse's mouth had rotting teeth` returns.

## 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 Community Component 25.4

Topic Title: TERMPHRASE