TERMEXACTPHRASE

The TERMEXACTPHRASE field specifier (case sensitive) allows you to return documents in which a specified field contains an exact match of a phrase you specify. 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 Content component configuration file, you must add the LanguageType parameter to your query action.

Format

FieldText=TERMEXACTPHRASE{yourPhrase}:yourFields
yourPhrase A phrase. A document returns only if one of yourFields contains an exact 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 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

If the FILM field contains the value Showing now, Batman and Robin's film, the document returns as a result, while if the FILM field contains Showing now, 'Batman and Robin' the movie, the document does not return.

FieldText=TERMEXACTPHRASE{gift horse }:DRETITLE:TITLE

If the DRETITLE or TITLE field contains the value looking a gift horse in the mouth, the document returns as a result, while if the DRETITLE or TITLE field contains the value gift horse's mouth had rotting teeth, the document does not return.

See Also