Synonym Processor (Query) Stage
About
This pipeline stage expands Queries to include Synonyms.
- This stage is placed first in your list of Query stages.
- The Synonyms processor analyzes the submitted query and modifies the query to include Synonyms.
- Both One-Way and Two-Way Synonyms are supported.
- This new query is translated by the backend processor to match the syntax of the backend.
Valid CSV Format
Synonym configuration uses valid CSV format.
Example:
To include double quotes ("" "") within a synonym use:
"""KEYWORD"""
-
The processor will use "KEYWORD".
-
Entering "KEYWORD" will use KEYWORD.
Synonym Examples
See the additional Synonym Query examples below.
| Method | Formate | Example | Description |
|---|---|---|---|
| One-Way | 1,<word>, <synonym>,<synonym>,...... |
1, Tony, Anthony 1, William, Bill, Will |
|
| Two-Way | 2,<word/synonym>, <word/synonym>,<word/synonym>,..... |
2, Tony, Anthony 2, William, Bill, Will |
|
| Mixed |
1,<word>, <synonym>,<synonym>,...... 2,<word/synonym>, <word/synonym>,<word/synonym>,..... |
1, Tony, Anthony 2, William, Bill, Will |
|
Multiple Word Synonyms
The Synonym Processor is capable of using multiple word synonyms.
Multiple word synonyms are treated as exact search terms.
Example:
2,ATC,"""Anatomical Therapeutic Chemical"""
AND
2,ATC,Anatomical Therapeutic Chemical
Both formats will be treated within the processor as "Anatomical Therapeutic Chemical"
To query as multiple Synonyms use the format:
2,ATC,Anatomical,Therapeutic,Chemical
How to Add the Synonym Processor Stage and Configure It
- To add the Synonym Processor stage, navigate to the SmartHub Administration settings page. For example, http://<SmartHubURL>/_admin.
- Select the Main Backend.
- Select Add New Query Stage.
- Select Synonyms Processor from the drop-down list.
- Enter your parameters in the Parameters field.
- Click OK.

Additional Synonym Query Examples
Use the information below as additional synonym query examples.
- Query TextBox: ATC
Resulting Query: ATC OR "Anatomical Therapeutic Chemical" - Query TextBox: Anatomical Therapeutic Chemical
Resulting Query: "Anatomical Therapeutic Chemical" OR ATC - Query TextBox: "Anatomical Therapeutic Chemical"
Resulting Query: "Anatomical Therapeutic Chemical" OR ATC - Query TextBox: Anatomical Therapeutic Chemical Compounds
Resulting Query: ("Anatomical Therapeutic Chemical" Compounds) OR (ATC Compounds) -
Query TextBox: "Anatomical Therapeutic Chemical" Compounds
or
Anatomical Therapeutic Chemical Compounds
Resulting Query: ("Anatomical Therapeutic Chemical" Compounds) OR (ATC Compounds)