Skip to content

Conversation

@drfho
Copy link
Contributor

@drfho drfho commented Jun 19, 2024

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

@drfho drfho requested a review from zmsdev June 19, 2024 20:04
@zmsdev zmsdev removed their request for review June 20, 2024 20:16
@zmsdev zmsdev self-assigned this Jun 20, 2024
@zmsdev
Copy link
Contributor

zmsdev commented Jun 20, 2024

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

@drfho drfho self-assigned this Jun 20, 2024
Copy link
Contributor

@zmsdev zmsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants