You can update the spelling dictionaries for a data domain with the updateSpellingDictionaries operation of the Manage Web Service.
The updateSpellingDictionaries operation of the Manage Web Service lets you rebuild the spelling dictionaries for spelling correction from the data corpus while continuing to issue queries and updates to the data domain, without stopping and restarting the Dgraph nodes. Run this operation after you have added data records to the data domain, to enable spelling correction in the Dgraph processes for this data domain.
During the data ingest process, you can run the request with the updateSpellingDictionaries operation periodically to update the spelling dictionary used by the Dgraph nodes in the data domain for one of the Dgraph process features known as Automatic Spelling Correction and DYM (Did You Mean?).
For detailed information on spelling dictionaries, see the Oracle Endeca Server Developer's Guide.
To update the spelling dictionaries for the data domain:
If the data domain exists and is enabled, the operation completes successfully, returning an empty web service success response (updateSpellingDictionariesResponse). This means that the spelling dictionaries have been updated successfully.