Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.16.3 Checking the synonyms registered in a synonym dictionary

By executing the adbsyndict command, you can output a list of synonyms registered in a synonym dictionary.

Example:

In this example, a list of synonyms registered in synonym dictionary Dictionary1 is output.

Procedure:

  1. Execute the adbsyndict command to output a list of synonyms registered in synonym dictionary Dictionary1.

    adbsyndict -n Dictionary1 -o /home/adbmanager/dictionary1_output.txt

    For the -n option, specify the synonym dictionary name.

    For the -o option, specify the file to which a list of synonyms registered in synonym dictionary Dictionary1 is output.

  2. Open the file that was output, and check the list of synonyms.

    Output example of a list of synonyms:

    database,data bank,DB↓
    application server,AP server↓

    Legend: ↓: Line feed

    A list of synonyms is output in the same format as a synonym list definition file. As shown in the preceding example, one line indicates the synonyms in one synonym group.

Note

When output of the list of synonyms is completed in step 1, the KFAA51529-I message is output. Check the synonym dictionary name in the message to confirm that output of the list of synonyms has been completed.