zms-publishing / ZMS

Running on Python 3.8+
11 stars 5 forks source link

Asynchronous Reindexing on Object-Commit #289

Open drfho opened 3 months ago

drfho commented 3 months ago

Incremental reindexing wll privide a better UX if waiting for the backend response is omitted. To archieve this a daemon for transferring the content to the search server asynchronously is added.

Screenimage-1: Opensearch-server is available: saving (and reindexing) a text-block takes 0.15s

reindex_async_1

Screenimage-2: Opensearch-server is not available: saving a text-block takes 0.15s too, unsuccessfully trying the reindexing runs non-blocking in the background.

reindex_async_0

zmsdev commented 3 months ago

Async incremental reindex can be deactivated: ZMSZCatalogAdapter.reindex_node.async=0