Previous Topic: pdm_key_refresh--Refresh Cached Key InformationNext Topic: When to Use pdm_k_reindex


pdm_lexutil--Modify CA SDM Lexicons

The pdm_lexutil utility allows you to modify Service Desk lexicons, to add or delete words for the spell check dictionary.

Syntax

This command has the following format:

pdm_lexutil -a | -d [-f] [-l] wordlist
-a

Add words.

-d

Delete words.

-f

File or lexicon containing list of words to be added or deleted.

-l

Lexicon name.

Default: userdict.tlx

wordlist

Words to be added or deleted.

Important! On UNIX, the LIBPATH must be set before running several CA SDM utilities. Use pdm_task to set the LIBPATH before running a utility. For example, input "pdm_task pdm_clean_attachments ...".

pdm_k_reindex—Knowledge Re-Index Utility

The Knowledge reindex utility, pdm_k_reindex.exe, is located under the Knowledge Management installation directory.

Note: Reindexing the documents in the knowledge base can be a time-consuming operation, depending upon the size of your database. We recommend that you run the Knowledge Reindex utility after all the changes have been added. For advanced availability configuration, you cannot execute the knowledge re-index utility during failover.

Important! On UNIX, the LIBPATH must be set before running several CA SDM utilities. Use pdm_task to set the LIBPATH before running a utility. For example, input "pdm_task pdm_clean_attachments ...".

Follow these steps:

  1. Open the command prompt.
  2. Enter the following command at the command prompt to run the knowledge reindex:

For example:

pdm_k_reindex

The following options are available with this command.

-D

Defines the debug mode, such as printing to the command window.

-v

Defines the verbose mode, such as printing to the stdlog file.

-i

Does not create table indexes in the reindex table after reindexing.

Note: Parameters with a dash as a prefix, such as "–D", must precede other parameters that do not have this prefix.

The other option is as follow:

File:reindex.txt

Documents are reindexed to the specified file.

+i

Creates the indexes of the reindexed table only, which is the search table after reindexing. The old indexes are dropped before reindexing.

+t

Switches the names of search and reindex tables only.

Note: A “+” prefix denotes only this parameter applies.

sdtout

Defines the frequency of statistic appearing in the command window. By default the knowledge reindex utility provides statistics into the command window for every 1000 documents processed. However, sometimes statistics are required to be provided more often. Use the following parameter:

pdm_k_reindex -i sdtout:10

In this case, statistics display in the command window for every ten documents.

The documents are reindexed in the knowledge base.