Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
There is a convention to trigger a re-index when a block is changed. But this might slow down the indexing since the indexing que could end up really big, so be a bit cautious.
ContentIndexer.Instance.Conventions.ForInstancesOf<IContent>() .ReindexingRelatedContentWhenInContentArea(x => true);
Put this in an initializable module
I use IndexInContentAreasAttribute on my block type, by doing so the content on my blocks are being index when the page is published/republished. If the block it self is updated the index for the page is not updated, so I need to change the block and then make a bogus change on my page or wait until the indexing job runs to make the new content searchable. Are there any built in feature that fixes this issue?
- Marcus