Synonyms

Synonyms are implemented as list of words that are considered to have the same meaning:

When a term featured in a list is used as a query parameter, all the other words in the list are appended to the query. For example, the query “The medicine made me drowsy”, when augmented using the previous synonym examples, becomes the following query:

The medicine made me drowsy, lethargic, listless, sleepy.

NoteSynonyms are not applied to TEXT metadata fields like “title” or “author”.

StepsAdding a synonym

  1. Click Configuration.

  2. Click Synonyms.

  3. Click Add Synonyms.

  4. Enter two or more words in the Synonyms field.

  5. Click Add if you have multiple entries for a synonym, else proceed to step 6.

  6. Click Save.

StepsEditing a synonym

  1. From the Metadata Configuration Summary page, click Synonyms.

  2. Click Edit for the synonym you want to change.

  3. Make the changes and click Save Changes.

StepsRemoving a synonym

  1. From the Metadata Configuration Summary page, click Synonyms.

  2. Click Remove for the synonym you want to delete.

  3. Click OK to confirm the deletion.

StepsSaving as XML

  1. From the Metadata Configuration Summary page, click Synonyms.

  2. Click Save as XML.

  3. Click Save, then confirm whether you want to save your current synonyms and acronyms.

    NoteSybase Search exports acronyms together with synonyms to an XML file. For data integrity purposes, the original XML file is not overwritten. Sybase Search writes the new settings into an XML file available at the following location:

    install_location\OmniQ\data\config\locale\QueryAugmentor_en.104.xml

  4. Click OK.

StepsLoading from XML

  1. From the Metadata Configuration Summary page, click Synonyms.

  2. Click Load from XML.

  3. Click Load, then confirm whether you want to load synonyms and acronyms from your XML file.

  4. Click OK.

    The synonyms are loaded from the default XML file available at:

    install_location\OmniQ\config\locale\QueryAugmentor_en.xml.

    NoteAfter you load synonyms and acronyms from the XML file, re-run Categories by doing a “Refresh All” from the Categories page to take into account the configuration changes to ensure that the category and View Category results are in synchronization.