The
admin?op=updateaspell
administrative operation lets you
rebuild the aspell dictionary for spelling correction from the data corpus
without stopping and restarting the MDEX Engine.
The
admin?op=updateaspell
operation performs the following
actions:
Converts this word list to the binary format required by
aspell
Causes the dgraph to finish processing all existing preceding queries and temporarily stop processing incoming queries
Replaces the previous binary format word list with the updated binary format word list
Causes the dgraph to resume processing queries waiting in the queue
The dgraph applies the updated settings without needing to restart.
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:
... aspell update ran successfully. ...
Note
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.