Configure Synonyms

When you use synonyms with FAST ESP, you can search and find relevant content, even when the content does not actually contain any of the terms or phrases you are looking for. For example, if you define the synonym music for the terms mp3 and mp4, users will find documents containing the word mp3 or mp4 when they search for music. You can also use synonyms to rewrite a term to show results you think are more appropriate in your enterprise. For example, you can rewrite the term laptop to return results for a specific laptop model only.

Note: For complete details and steps to manage synonyms, see the FAST ESP Search Business Center Guide.

To configure synonyms

  1. Log in to the FAST ESP Linguistics Studio using the instructions provided in your FAST ESP documentation.
  2. Use LinguisticsStudio to complete the following steps:
    1. Create a linguistics project.
    2. Create a dictionary and name it casynonyms.
    3. Add new synonyms to the dictionary. For example, music for the terms mp3 and mp4.

      The following new dictionary file is created:

      $FASTROOT\resources\dictionaries\synonyms\qt\casynonyms.aut

    4. Add the following entry to the new dictionary to the $FASTROOT\etc\config_data\QRServer\webcluster\etc\qrserver\qtf-config.xml file:
      <instance name="synonym" type="external" resource="qt_synonym">
      <parameter-list name="qt.synonym">
      <parameter name="enable" value="1"/>
      <parameter name="synonymdict1" value="resources/dictionaries/synonyms/qt/short_spellvars.aut"/>
      <parameter name="synonymdict2" value="resources/dictionaries/synonyms/qt/short_wordnet.aut"/>
      <parameter name="synonymdict3" value="resources/dictionaries/synonyms/qt/casynonyms.aut"/>
      </parameter-list>
      </instance>
      
  3. Stop the qrserver service.
  4. Deploy the new dictionary file to FAST ESP.
  5. Start the qrserver service.
  6. Run the setupenv.cmd command in the $FASTROOT\bin directory.
  7. Run the view-admin.cmd -a -m refresh command in the $FASTROOT\bin directory.
  8. Update NX.env with @NX_EBR_QUERY_WITH_SYNONYMS=Yes.
  9. Restart CA Service Desk Manager.

More information:

Install LinguisticsStudio