updateaspell

The admin?op=updateaspell administrative operation lets you rebuild the aspell dictionary 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 command after you have added data records to the data store, to enable spelling correction in the Dgraph process for this data store.

During the data ingest process, you can run the admin?op=updateaspellcommand periodically to update the spelling dictionary used by the Dgraph for Automatic Spelling Correction and DYM.

The admin?op=updateaspell operation performs the following actions: The Dgraph applies the updated settings while continuing to run queries and without needing to restart.
Note: If admin?op=updateaspell is started within a transaction, it must reference a transaction ID, as in the following example:
admin?op=updateaspell&outerTransactionId=42

Only one admin?op=updateaspell operation can be processed at a time.

The admin?op=updateaspell operation returns output similar to the following in the Dgraph error log:
...
spellengine aspell ran successfully.
If you start the Dgraph with the -v flag, the output also contains a line similar to the following:
Time taken for updateaspell, including wait time on any 
previous updateaspell, was 290.378174 ms.