IDOL Content Component 23.2

# 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 Content component Reference.

Related Topics

- Display Online Help

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 23.2

Topic Title: Edit the Spelling Correction Cache