View Component 25.1
View Component Help

# Edit the Spelling Correction Cache

You can use the `DRESPELLCHECKCACHE` index action to edit entries in the Content component spelling correction cache without stopping the service. This action can edit or remove entries in the cache, or write the cache to disk.

    http://ContentHost:indexPort/DRESPELLCHECKCACHE?Action=Action

where:

`ContentHost` | is the IP address or host name of the Content component.
`indexPort` | is the Content component index port (specified as `IndexPort` in the `[Server]` section of the Content component configuration file).
`Action` | is the action to perform in the spelling correction cache. The following options are available: `Update`. Add a correction for the spelling, overwriting any current entry. Set `Original` to the incorrect spelling, and `Corrected` to the correct spelling for this word. If you do not specify the `Corrected` parameter, Content marks the word in the cache as not to be corrected. `Remove`. Remove any entry for the specified incorrect spelling. Set the `Original` parameter to the incorrect spelling to remove. `Clear`. Remove all entries from the cache. `Flush`. Write the spelling correction cache (`prx.db`) to disk.

For example:

    http://localhost:9001/DRESPELLCHECKCACHE?Action=Update&Original=Barnana&Corrected=Banana

This action uses port `9001` to edit the spelling correction cache in the Content component which is located on the local machine. It adds `Banana` as the correction for `Barnana`, overwriting any current entry.

    http://localhost:9001/DRESPELLCHECKCACHE?Action=Remove&Original=Barnana

This action uses port `9001` to edit the spelling correction cache in the Content component which is located on the local machine. It removes any entry for `barnana` from the cache.

For details on other parameters that are available for the `DRESPELLCHECKCACHE` index action, refer to the Content component Reference.

Related Topics

- Display Online Help

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Edit the Spelling Correction Cache