Cli import items not indexed
Items imported through the atomic-server import cli command are not properly added to the search index. Perhaps because the commit monitor isn't activated? Perhaps because it's exited before it can process all items?
If it's the latter, we need some que that prevents shutdown
The cause is indeed a lack of CommitMonitor, because the import command is not starting an Actix runtime. In other words: the messages are sent but not received.
For now I just added a warning message, so users know to run --rebuild-indexes afterwards if they need to search.
The main goal of this import CLI was to export or import an entire database anyways.
A better, proper solution to this is to use the /import endpoint, preferably using the GUI. We could also add this feature to the client app.