Open topic with navigation
A synonym query returns results that are conceptually similar to the terms in a
Text parameter or conceptually similar to the synonyms that are available for the
You can configure and use synonyms in several different ways.
In a query you can use one of the following methods to specify synonyms:
SYNONYM operator. The
SYNONYM operator is a query operator that allows you to specify a list of synonymous terms. HPE recommends that you use this method in most cases. See The SYNONYM Operator.
Synonym parameter in queries. The
Synonym parameter enables synonym lists for a query. To use this option, you must configure synonym lists in your IDOL Content component. See Enable Synonym Lists.
You can also replace query text directly (without using the
SYNONYM operator). However, in this case you might find query weighting is affected by the additional query terms.
You can use the following methods to store your synonym lists:
Configure synonym lists in the IDOL Content component. A synonym list is a simple text file that defines synonyms for a list of terms and phrases. When you configure a synonym list, Content uses it at index time to mark synonymous terms in the index. This method enables you to use the
Use Query Manipulation Server. Query Manipulation Server (QMS) acts as a proxy for your queries, with access to your main query Content component, and the Promotion Agentstore. You store synonym lists as documents in the Promotion Agentstore. When you send a query to QMS, it searches the Promotion Agentstore for synonyms, modifies the query text, and forwards the modified query to the main Content component.
Use a Synonym Server. The Synonym Server is an IDOL Content component that stores synonym lists as documents. You retrieve the synonyms in queries, and use the results to modify the original query text. This method is similar to using QMS, but you must set up your front end to manage the synonym query and text replacement.