Developer forum

Forum » CMS - Standard features » Auto index when creating/editing content

Auto index when creating/editing content

Lars Pham


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! :) 


Nicolai Pedersen
Nicolai Pedersen

Hi Lars

For the content builder there is no simple way currently. The product index builder support partial builds, but the content builder does not yet. Also it cannot be triggered by a content edit action... So an occasional update is currently the only possibility.

BR Nicolai


You must be logged in to post in the forum