# Edit the Spelling Correction Cache

You can use the `DRESPELLCHECKCACHE` index action to edit entries in the IDOL 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 IDOL Content component.
`indexPort` | is the IDOL Content component index port (specified as `IndexPort` in the `[Server]` section of the IDOL 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 IDOL 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 IDOL 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 IDOL Server Reference.

Related Topics

- Display Online Help

_FT_HTML5_bannerTitle.htm