feat: Implement document saving with reindexing

- Updated the document saving endpoint to trigger reindexing after saving.
- Introduced a new Celery task for reindexing documents.
- Refactored the editor page to reflect the changes in the API endpoint and method.
This commit is contained in:
Anish Sarkar 2025-11-30 04:08:12 +05:30
parent 91bc344b56
commit f8e4926969
4 changed files with 156 additions and 83 deletions

View file

@ -64,6 +64,7 @@ celery_app = Celery(
"app.tasks.celery_tasks.connector_tasks",
"app.tasks.celery_tasks.schedule_checker_task",
"app.tasks.celery_tasks.blocknote_migration_tasks",
"app.tasks.celery_tasks.document_reindex_tasks",
],
)