Updating the spelling dictionaries

The Endeca Server update-spelling-dictionaries endeca-cmd command rebuilds the spelling dictionaries for a specific data domain.

The command allows you to rebuild the spelling dictionaries for spelling correction from the data corpus while continuing to issue queries and updates to the Oracle Endeca Server, and without stopping and restarting the Dgraph process. Run this operation after you have added data records to the data domain, to enable spelling correction in the Dgraph process for this data domain.

Important: In a cluster of Dgraphs serving a specific data domain (also known as the data domain cluster), this operation can only run successfully on the Dgraph node that can accept updating requests for this data domain (this is the leader Dgraph node). If you run this operation on a follower Dgraph node, the spelling dictionary will not be updated.

During the data ingest process, you can run the Endeca Server update-spelling-dictionaries endeca-cmd command periodically to update the spelling dictionary used by the Dgraph for Automatic Spelling Correction and DYM.

The update-spelling-dictionaries command performs the following actions:

The Dgraph applies the updated settings while continuing to run queries and without needing to restart.