Thesaurus

About Thesaurus

The Thesaurus allows you to import and export a default thesaurus. The topics covered in this section are:

Importing Thesaurus

You can import a formatted, file-based thesauri into the tables owned by the Text Search user (ctxsys). These thesauri can be used while searching the text properties for which Text Indexes have been defined.

This task explains how to import the thesaurus:

  1. From the navigation pad, select Tools >Text Management > Thesaurus. You are prompted for the cisdba and ctxsys passwords. After entering the passwords, the Thesaurus page appears.

Before importing the thesaurus, you must do the following:

  • Define all the thesaurus entries in a file.
  • Make sure that the import file complies with the correct format as given below:

<phrase>

SYN <synonym1>

......

SYN <synonymN>

For example:

CANINE

SYN DOG

SYN PUPPY

SYN MUTT

YN MONGREL

Note: If your import the file that does not have the correct format, you might see the  error: DRG-11512 bad syntax for thesaurus load file, line string.
 

  • Database Name. The name of the database appears.
  • File Name. Name of Thesaurus definition file.
  • Log File Name. Name of the log file where thesaurus import is logged.
  1. Select Import and click Apply to import the thesaurus. The thesaurus is imported with the name of default. You cannot change the name of the thesaurus. If the default thesaurus already exists in the database, you are prompted for confirmation to drop the existing one and import the new thesaurus using the given import file.

Exporting Thesaurus

The can export the thesaurus in CES.

This task explains how to export the thesaurus:
  1. From the navigation pad, select Tools >Text Management >Thesaurus.

  2. Select Tools, and then click Apply. The thesaurus is exported to the file specified