Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.16.13 Changing the directory for storing synonym dictionary files

This subsection describes how to change the directory for storing synonym dictionary files.

Procedure:

  1. Create the directory for storing synonym dictionary files that is to be used after the change.

    For details about how to create this directory, see the following subsections of 11.16.1 Preparing for synonym search operations:

  2. Execute the adbstop command to terminate the HADB server normally.

  3. Change the value specified for the adb_syndict_storage_path operand in the server definition.

    For the adb_syndict_storage_path operand, specify the directory you created in step 1.

  4. Execute the adbstart command to start the HADB server normally.

  5. Execute the adbsyndict command to reregister all synonym dictionaries.

    Use the synonym list definition file and dictionary creation file that are saved, to reregister all synonym dictionaries.

  6. Make a backup of the directory for storing synonym dictionary files.

    If you register a synonym dictionary, the relevant synonym dictionary files are added. In case a failure occurs in a synonym dictionary file, make a backup of the directory for storing synonym dictionary files. If a failure occurs in a synonym dictionary file when you have not made a backup, you need to re-create the synonym dictionary file by using the adbsyndict command.

    The directory for storing synonym dictionary files is the directory specified for the adb_syndict_storage_path operand in the server definition.

Note

When registration of a synonym dictionary is completed in step 5, the KFAA51509-I message is output. (As many messages as the synonym dictionaries for which registration is completed are output.) Identify the synonym dictionary name in the message, and confirm that registration of the synonym dictionary is completed.