AquaLogic Interaction Administrator Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Creating and Implementing the Synonym List for the Thesaurus

The thesaurus is a comma-delimited file, in which each line represents a single thesaurus entry. After you create the file, you load it into the Search Service.

  1. Create a comma-delimited, UTF-8 file containing the desired thesaurus entries. For details on how to format entries, see About the Thesaurus File.
    Note: Thesaurus entries must be in lower-case.
  2. Stop the Search Service. The comma-delimited file is converted to a binary format in the next step. The conversion removes and replaces certain files used by the Search Service, and this removal and replacement cannot be done while the Search Service is running.
  3. At a command prompt, run the customize utility.

    The customize utility is located in the bin\native directory of the Search Service installation (for example, C:\bea\alui\ptsearchserver\6.5\bin\native\customize.exe). The utility must be run from a command prompt, taking command-line arguments for the thesaurus file and the path to the Search Service installation:

    customize -r thesaurus_file SEARCH_HOME

    Replace thesaurus file with the path to the thesaurus file and replaceSEARCH_HOME with the root directory of the Search Service installation.

    For example, if your thesaurus file is located in \temp and your Search Service was installed in the default location, type:
    customize -r \temp\thesaurus.cdf C:\bea\alui\ptsearchserver\6.5
    The files in SEARCH_HOME\common are removed and replaced by files of the same name, though their contents now represent the mappings created by the customize utility.
  4. Restart the Search Service. The files produced by the customize utility are loaded when the Search Service starts.
If you have not already done so, you must enable the thesaurus in the Search Results Manager.

  Back to Top      Previous Next