Use the following procedure to set up an additional Synonym HPE IDOL Server.
Install the Synonym HPE IDOL Server.
Create a synonym file and index it.
Perform a synonym query.
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.
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.
Use the following procedure to perform a synonym search.
Send a query to the Synonym HPE IDOL Server. For example:
http://synonymServerHost:synonymServerPort/action=Query&Text=mouser
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.
|