Updating spelling dictionaries

Use the endeca-cmd update-spelling-dictionaries data_domain command to update the spelling dictionaries in the data domain. Run this operation after you have added data records to the data domain, to enable spelling correction in the Dgraph.

During the data ingest process, you can run this operation periodically to update the spelling dictionary used by the Dgraph for Automatic Spelling Correction and Did You Mean (DYM).

In a cluster of Dgraph nodes, this command is routed to the leader node.

The update-spelling-dictionaries option of the endeca-cmd command performs the following actions: The Dgraph applies the updated settings while continuing to run queries and without needing to restart.