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