Hi Umbracians,
I'm following this example of extending Content Delivery API for indexing:
https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/extension-api-for-querying#custom-selector
Everything works fine, and I've got "featured" property propagated from Author to Article.
One thing I can't get working at the moment however is when I change the Author "featured" toggle, I need all the Articles that reference this Author to be re-indexed as well. Right now if I make the Author "featured" I need to rebuild Content Delivery API examine index entirely for this updated value to appear on Articles.
I'm trying to implement ContentPublishedNotification for Author content items. Inside it I managed to find all the Articles that have this Author assigned, but how can I trigger index rebuild for these items?
I was trying to call:
umbracoIndexingHandler.ReIndexForContent(content, true);
but it didn't seem to have any effect. What else can I try?