Open sureshvv opened 1 year ago
see if #304 helps
when you run_huey there should be messages about the queue being process, if you create a new topic, then you should see a message about the task consuming that message.
If not, then it could be Spirit is not sending the task to huey. Make sure huey is enabled, and restart the Django server after any settings.py change. Also make sure huey and Spirit are using the same settings file. The python manage.py
command has a settings flag.
Check the Django logs for errors. i.e: add the file handler after mail_admin in every logger.
I assume you have read this and so you are running django in a single machine along the Huey task manager. If you have multiple machines you cannot use whoosh, and you cannot use sqlite.
Thank you so much.
When I added a New Topic after run_huey, the index has been updated.
How do I get the old topics updated in the index?
Do I have to go back and save each of them?
Do I have to go back and save each of them?
No. Run python manage.py rebuild_index
May be nice to have a section in the docs on the management commands.
How do I debug this? I have run_huey in the background and the appropriate settings. I can see the st_search folder with some contents (1 file _MAIN_0.toc) and the huey.sqlite3 database.