Acronyms

Acronyms are implemented as a single acronym key with one or list of corresponding phrase values. In the following example the key “USA” is associated to the phrase “United States of America”, and the key “DVD” is associated to both the phrases “Digital Versatile Disc” and “Digital Video Disc”:

Acronyms can augment a query in two ways:

NoteAcronyms are not applied to TEXT metadata fields.

StepsAdding an acronym

  1. Click Configuration.

  2. Click Acronyms.

  3. Click Add Acronym.

  4. Complete these fields:

    Name

    Description

    Acronym

    Indicates the acronym

    Phrase

    Complete expansion of the acronym

  5. Click Add if you have multiple phrases for a single acronym, else proceed to step 6.

    NoteYour phrase must have two valid words or else Sybase Search does not allow you to add the new acronym.

  6. Click Save.

StepsEditing an acronym

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

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

  3. Make the changes and click Save Changes.

StepsRemoving an acronym

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

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

  3. Click OK to confirm the deletion.

StepsSaving as XML

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

  2. Click Save as XML. The Save as XML page appears.

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

    NoteSybase Search exports acronyms 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 Acronyms.

  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 acronyms 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. Also, both acronyms and synonyms are stored in the same file, so you are not allowed to load one without loading the other.