Manage Dictionaries

After you have created and configured the dictionary file, you can use the TypeAheadManage action to modify the dictionary file. This action ensures that you do not have to restart the server when you want to update the dictionary.

Add Values

To add values to the dictionary, send a TypeAheadManage action with:

For example:

action=TypeAheadManage&Mode=Dictionary&ManageMode=Add&Text=goal,25;gothic,5

You can also upload the changes to the dictionary in a file. The file must contain the words and scores that you want to add to the dictionary. It must have the same format as the dictionary file (see Create a Dictionary File). You upload the file by using the ManageFile parameter. For more information about uploading a file by using the ManageFile parameter, refer to the QMS Reference.

Modify Values

To modify the values in the dictionary, send a TypeAheadManage action with:

For example:

action=TypeAheadManage&Mode=Dictionary&ManageMode=Edit&Text=government,15;golf

You can also upload the changes to the dictionary in a file. The file must contain the words and scores that you want to modify in the dictionary. It must have the same format as the dictionary file (see Create a Dictionary File). You upload the file by using the ManageFile parameter. For more information about uploading a file by using the ManageFile parameter, refer to the QMS Reference.

Remove Values

To remove values to the dictionary, send a TypeAheadManage action with:

For example:

action=TypeAheadManage&Mode=Dictionary&ManageMode=Remove&Text=gold;golfer

You can also upload the changes to the dictionary in a file. The file must contain the words that you want to remove from the dictionary. It must have the same format as the dictionary file (see Create a Dictionary File). You upload the file by using the ManageFile parameter. For more information about uploading a file by using the ManageFile parameter, refer to the QMS Reference.

Save Changes to the Dictionary

When you have finished making modifications to the dictionary file, you must send another TypeAheadManage action to save those changes to disk. If you do not persist the changes, HPE QMS continues to use your updated values for the dictionary, but if you restart the server, the changes are lost.

To save dictionary changes to disk, send a TypeAheadManage action with:

For example:

action=TypeAheadManage&Mode=Dictionary&ManageMode=Persist

_HP_HTML5_bannerTitle.htm