Enabling spelling correction and updating spelling dictionaries

The updateSpellingDictionaries operation of the Data Ingest Web Service performs two functions at once: when it runs, it enables spelling correction and DYM features, and also rebuilds the spelling dictionaries for this data domain.

The operation 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 runs successfully on the Dgraph node that can accept updating requests for this data domain (this is the leader Dgraph node). The Endeca Server automatically routes this operation to the leader node in the data domain cluster.

During the data ingest process, you can run the updateSpellingDictionaries operation periodically to update the spelling dictionary used by the Dgraph for Automatic Spelling Correction and DYM.

The updateSpellingDictionaries operation performs the following actions:

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

For information on how to run the updateSpellingDictionaries operation directly on the Endeca Server, see the Oracle Endeca Server Data Loading Guide, or, if you use Integrator ETL for data loading, see its documentation.