Open Morsey187 opened 8 months ago
Discussed this with Ben separately but copying some of those comments here for reference.
This implementation has raised a few potential challenging points we might need to address before we can finalise this. Right now, this does a full index rebuild on save, which as Ben identified can potentially be very slow.
Ideally, we would only update the current page when saving, but to do this we need to:
Adds a new env
WAGTAIL_VECTOR_INDEX_UPDATE_ON_PUBLISH
to enable registering all pages with aVectorIndexedMixin
to wagtail's page_published signal.