Hitachi

Hitachi Advanced Database Setup and Operation Guide


15.14.3 Steps to take if synonym dictionary files or their storage directory is accidentally deleted

If you have accidentally deleted synonym dictionary files or the storage directory for synonym dictionary files, you need to re-create the synonym dictionary files.

Important

You cannot recover synonym dictionary files or their storage directory from the backups.

Organization of this subsection

(1) Steps to take if a synonym dictionary file is accidentally deleted

If you have accidentally deleted synonym dictionary files, you need to re-create them. The following describes the procedure.

Procedure:

  1. Prepare the synonym list definition files you have stored.

    You need the synonym list definition files corresponding to the synonym dictionary files that were deleted accidentally.

  2. Prepare the dictionary creation files that you have stored.

    You need the dictionary creation files corresponding to the synonym dictionary files that were deleted accidentally.

  3. Execute the adbsyndict command to re-register the synonym dictionaries.

    At this time, although the KFAA51504-W message is output, no action is required.

Note
  • When registration of the synonym dictionaries is completed in step 3, the KFAA51509-I message is output (this message is output as many times as the number of synonym dictionaries that have been registered). Check the synonym dictionary name in the message to confirm that the synonym dictionary has been registered.

  • If you have lost a synonym list definition file, rebuild the synonym list definition file based on the explanation in 11.16.14 Rebuilding a synonym list definition file (when a synonym list definition file is lost).

(2) Steps to take if the storage directory for synonym dictionary files is accidentally deleted

If you have accidentally deleted the storage directory for synonym dictionary files, you need to re-create all the synonym dictionary files. The following describes the procedure.

Procedure:

  1. Re-create the storage directory for synonym dictionary files.

    Re-create the storage directory for synonym dictionary files that was deleted accidentally.

  2. Assign the permissions to the storage directory for synonym dictionary files.

    For details about the permissions to be granted, see (5) Assigning permissions to the directory for storing synonym dictionary files in 11.16.1 Preparing for synonym search operations.

  3. Prepare the synonym list definition files you have stored.

    You need the synonym list definition files for all the synonym dictionaries.

  4. Prepare the dictionary creation files that you have stored.

    You need the dictionary creation files for all the synonym dictionaries.

  5. Execute the adbsyndict command to re-register all the synonym dictionaries.

    At this time, although the KFAA51504-W message is output, no action is required.

Note
  • When registration of the synonym dictionaries is completed in step 5, the KFAA51509-I message is output (this message is output as many times as the number of synonym dictionaries that have been registered). Check the synonym dictionary name in the message to confirm that the synonym dictionary has been registered.

  • If you have lost a synonym list definition file, rebuild the synonym list definition file based on the explanation in 11.16.14 Rebuilding a synonym list definition file (when a synonym list definition file is lost).