Open topic with navigation

# Set up an Additional Synonym IDOL Server

Use the following procedure to set up an additional Synonym IDOL Server.

To set up an additional IDOL Server

1. Install the Synonym IDOL Server.

2. Create a synonym file and index it.

3. Perform a synonym query.

Related Topics

- Install the Synonym IDOL Server

- Create and Index a Synonym File

- Perform Synonym Searches

## Install the Synonym IDOL Server

Follow the IDOL Server installation instructions to install the IDOL Server component. If you are installing the Synonym IDOL Server on the same machine as your existing IDOL Server, ensure that the servers use different ports. Refer to the IDOL Getting Started Guide for details of how to install IDOL Server.

## Create and Index a Synonym File

You can obtain the synonym file to store in your Synonym IDOL Server by spidering a Thesaurus site (using HTTP Connector), or by creating the file manually. A synonym file must be a text file that contains the fields described in the following table.

Field | Description
--- | ---
`#DREREFERENCE` | Enter a unique reference string for the synonym document. Usually this reference is a file name, URL, or unique code number.
`#DRECONTENT` | Enter a list of associated single words, separated by carriage returns or spaces (you cannot list phrases).
`#DREENDDOC` | A delimiter that indicates the end of the document.

For example:

    #DREREFERRENCE Syn1.txt
    #DRECONTENT cat feline grimalkin moggy mouser tabby siamese kitten
    #DREENDDOC
    #DREREFERRENCE Syn2.txt
    #DRECONTENT dog cur hound mongrel mutt pooch puppy
    #DREENDDOC
    ...

If you use HTTP Connector to create the synonym file, you can use the connector to index the file. If you create the file manually, you can index it by using a `DREADD` index action.

Related Topics

- DREADD: Index IDX and XML Files Directly

## Perform Synonym Searches

Use the following procedure to perform a synonym search.

To perform synonym searches

1. Send a query to the Synonym IDOL Server. For example:

       http://synonymServerHost:synonymServerPort/action=Query&Text=mouser

2. When the Synonym IDOL Server returns the synonym results, add the results to the query string and send the query to your normal Content IDOL Server (normally you set up a front end to do this). For example:

       http://IDOLhost:port/action=Query&Text=mouser+(cat feline grimalkin moggy mouser tabby siamese kitten)

   This query returns documents that conceptually match the term mouser, as well as documents that conceptually match any of the terms that the Synonym IDOL Server lists as synonyms for the term mouser.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm