Managing a thesaurus dictionary for the Webserver search engine on HTTP Server

 

In the IBM HTTP Server for i5/OS, you can manage your thesaurus dictionary with the Web Administration for i5/OS interface.

Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . IBM recommends that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See IBM Service for more information.

This topic explains how to manage thesauruses for the Webserver search engine on the HTTP Server.

 

Parent topic:

Search tasks

 

Testing thesaurus dictionaries

Test your thesaurus for accuracy and completeness. To test your thesaurus, do the following:

  1. Click the Advanced tab.

  2. Click the Search Setup subtab.

  3. Expand Search Engine Setup.

  4. Click Test thesaurus dictionary.

  5. Enter the thesaurus dictionary name to be tested.

  6. Enter the directory where the thesaurus dictionary is located.

  7. Enter a term or multiple terms to test.

    There are a number of options you can test on your thesaurus dictionary.

    Find terms with all relationships

    Check this box to find all the terms in the dictionary that have a broader or narrower meaning than the entered term, are synonyms of the term, or are related to the term.

    Find terms with a broader meaning

    Check this box to find all terms that have a broader meaning than the entered term. For example, dessert has a broader meaning than cake.

    Find terms with a narrower meaning

    Check this box to find all terms that have a narrower meaning than the entered term. For example, apple has a narrower meaning than fruit.

    Find terms that are synonyms

    Check this box to find all terms that are synonyms. For example, Ping-Pong is a synonym for table tennis.

    Find terms that are related

    Check this box to find all terms that are related to the entered term. For example, apple and pear are related terms

  8. Enter the number of related terms that will be displayed for each term entered. Possible values are 1 - 10.

  9. Click Expand terms.

 

Retrieving thesaurus definitions

You can retrieve a thesaurus definition from a thesaurus dictionary. Specify the file to use for the thesaurus definition. The thesaurus data will be retrieved from the specified thesaurus dictionary. To retrieve a thesaurus definition, do the following:

  1. Click the Advanced tab.

  2. Click the Search Setup subtab.

  3. Expand Search Engine Setup.

  4. Click Retrieve thesaurus definition.

  5. Enter the directory and name of the thesaurus definition file that contains relationship data for generating a thesaurus dictionary in the Thesaurus definition file field. A definition file is a simple text file with formatting tags to indicate word relationships.

  6. Enter a name for the thesaurus dictionary in the Thesaurus dictionary name field. For example, mydict.

  7. Enter the directory that is used to hold the thesaurus dictionary files that are created in the Thesaurus dictionary directory field. Possible values include /QIBM/UserData/HTTPSVR/search (the default setting), or any valid directory path.

  8. Click Apply.

 

Deleting thesaurus dictionaries

You can delete your thesaurus dictionaries. Files that were created for this dictionary will be deleted. The directory will not be deleted. To delete a thesaurus dictionary, do the following:

  1. Click the Advanced tab.

  2. Click the Search Setup subtab.

  3. Expand Search Engine Setup.

  4. Click Delete thesaurus dictionary.

  5. Enter a name for the thesaurus dictionary in the Thesaurus dictionary name field. For example, mydict.

  6. Enter the directory that is used to hold the thesaurus dictionary files that are created in the Thesaurus dictionary directory field. Possible values include /QIBM/UserData/HTTPSVR/search (the default setting), or any valid directory path.

  7. Click Delete.