So I'm building a suggested search on all text content (pages, paragraphs and items) on a site using an index and the query publisher module.
But what would be the best way to rebuild the index when content is being saved after editing or created?
I could create a task that could build a new index every 5 minutes or so - but that seems kinda inefficient if there aren't any changes.
They could also build an index after editing content - that's tiresome.
Is there any option that forces a rebuild of an index when a user saves content in the administration?
Tips are welcome! :)