Category Component 25.3
Category Component Help

# TERM

The `TERM` field specifier (case sensitive) allows you to find documents with a specified field whose value contains a conceptual match of one or more terms you specify. A conceptual match exists if a term you specify matches a term in a specified field after it has been stemmed.

NOTE: If the language that you are using does not match the DefaultLanguageType that you have specified in the Category Component configuration file, you must add the `LanguageType` parameter to your query action.

## Format

    FieldText=TERM{yourTerms}:yourFields

`yourTerms` | One or more terms. A document returns only if one of `yourFields` contains a value that includes a term that conceptually matches of one of the specified terms. You can match strings that contain punctuation (but see Note) or that 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 a term in this field conceptually matches one of `yourTerms`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

    FieldText=TERM{shopping,centers}:DRETITLE

The `DRETITLE` field must contain a term that conceptually matches shopping or centers. For example, if the `DRETITLE` field has the value shop the document returns, while if it has the value `bookshopping`, it does not return.

    FieldText=TERM{training,football}:ITEM:PRODUCT

The `ITEM` or `PRODUCT` field must contain a term that conceptually matches trainers or football. For example, if the `ITEM` or `PRODUCT` field has the value train or footballers, the document returns, while if it has the value trainer or soccer, it does not return.

## See Also

- DefaultLanguageType configuration parameter

Copyright 2025 Open Text
Version 25.3 | Last updated July 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 Category Component 25.3

Topic Title: TERM