grommunio-index-1.6.6 can write to both the old index database and the new index database structure. To ensure you have the new structure, the easiest way is to delete all index databases and then rebuild them.
Execute these commands on the command line.
Deleting all index databases:
rm -rf /var/lib/grommunio-web/sqlite-index/*
Recreating / Rebuilding the index databases:
grommunio-index -A
Please note that rebuilding the index databases may take some time and depends on the number and size of the mailboxes. It is best to perform the rebuild over the weekend.
The new index dramatically increases search speed.
Enjoy grommunio