How to index specific content with Examine in Load balanced setup
Hi All,
I do I reindex specific content with Examine in Umbraco 8? I would like to index content in a load balanced configuration. On the server I've implemented the TransformingIndexValues event to rewrite nested content (json) to plain text.
When I publish content on the master server, this event is successfully fired, but on the slave frontend nodes this method is not fired.
So, my idea was to listen for cache updates from the master server width
But, I can't find the right way to do that. On the IIndex I only can find methods that requires a ValueSet. I don't want to convert IContent to a ValueSet with custom implementation. Must be possible (because I see other Umbraco V7 examples on the forum) to trigger examine to reindex one specific IContent.
How to index specific content with Examine in Load balanced setup
Hi All,
I do I reindex specific content with Examine in Umbraco 8? I would like to index content in a load balanced configuration. On the server I've implemented the
TransformingIndexValues
event to rewrite nested content (json) to plain text.When I publish content on the master server, this event is successfully fired, but on the slave frontend nodes this method is not fired.
So, my idea was to listen for cache updates from the master server width
ContentCacheRefresher.CacheUpdated += ContentCacheRefresherOnCacheUpdated;
and then reindexing this specific node.
But, I can't find the right way to do that. On the
IIndex
I only can find methods that requires aValueSet
. I don't want to convertIContent
to aValueSet
with custom implementation. Must be possible (because I see other Umbraco V7 examples on the forum) to trigger examine to reindex one specificIContent
.Any help much appreciated!
Corne
is working on a reply...