IDOL Category Component 24.2

# 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 specified by you. 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 IDOL Category Component configuration file, you must add the `LanguageType` parameter to your query action.

## Format

    FieldText=TERM{yourTerms}:yourFields

`yourTerms` | Type one or more terms. A document is only returned if one of `yourFields` contains a value that includes a term which conceptually matches of one of the specified terms. You can match strings that contain punctuation (but see Note below) or consist of several words. NOTE: Strings in the query should be percent-encoded. This ensures that any commas or curly braces that are part of a string are not interpreted as query syntax. If you are sending HTTP requests using the content-type `application/x-www-form-urlencoded` you should 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` | Type one or more fields. A document is only returned 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

A document's `DRETITLE` field must contain a term that conceptually matches shopping or centers for this document to be returned. If a document's `DRETITLE` field, for example, has the value shop this document is returned, while if it has the value `bookshopping`, it is not returned.

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

A document's `ITEM` or `PRODUCT` field must contain a term that conceptually matches `trainers` or `football` for this document to be returned. If a document's `ITEM` or `PRODUCT` field, for example, has the value `train` or `footballers`, this document is returned, while if it has the value `trainer` or `soccer`, it is not returned.

## See Also

- DefaultLanguageType configuration parameter

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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: IDOL IDOL Category Component 24.2

Topic Title: TERM