Best event to listen to update Examine index in Umbraco 6.1.6
I am a custom Examine Index. Then I need to maintain it with CodeBase.
What is the best event to listen to update the index?
I'm using umbraco.content.AfterUpdateDocumentCache and umbraco.content.AfterClearDocumentCache events, but their signature are using a deprecated object (umbraco.cms.businesslogic.web.Document). I would upgrade to Umbraco 7.0.
Best event to listen to update Examine index in Umbraco 6.1.6
I am a custom Examine Index. Then I need to maintain it with CodeBase.
What is the best event to listen to update the index?
I'm using
umbraco.content.AfterUpdateDocumentCache
andumbraco.content.AfterClearDocumentCache
events, but their signature are using a deprecated object (umbraco.cms.businesslogic.web.Document
). I would upgrade to Umbraco 7.0.Events signature:
I look that these events are used inside Examine: https://github.com/Shandem/Examine/blob/master/Projects/UmbracoExamine/UmbracoEventManager.cs
In Umbraco 7, you might want to look at the PageCacheRefresher.CacheUpdated event which gets called after the cache is updated.
is working on a reply...