Try our conversational search powered by Generative AI!

episerver index content


I am trying to restrict data to be indexed until it is linked to any content. I have followed the following link

It works fine until I have the Block which has a content area which stores GenericMedia type items. I have added a debug point in here

ContentIndexer.Instance.Conventions.ForInstancesOf().ShouldIndex(x =>
    return false;

When I have a local asset for a block then it hits that break point and I can have my logic of checking if there are any refrences for that item. 

BUT when I have a global asset it doesn't hit that break point. I can't have custom logic to check if I should index that item or not. Any help?

Aug 07, 2018 16:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.