Open topic with navigation

# Set up an Additional Synonym IDOL Server

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

To set up an additional HPE IDOL Server

1. Install the Synonym HPE 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 HPE IDOL Server installation instructions to install the HPE IDOL Server component. If you are installing the Synonym HPE IDOL Server on the same machine as your existing HPE IDOL Server, ensure that the servers use different ports. Refer to the HPE IDOL Getting Started Guide for details of how to install HPE IDOL Server.

## Create and Index a Synonym File

You can obtain the synonym file to store in your Synonym HPE 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 HPE IDOL Server. For example:

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

2. When the Synonym HPE IDOL Server returns the synonym results, add the results to the query string and send the query to your normal Content HPE 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 HPE IDOL Server lists as synonyms for the term mouser.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm