Hi!
I have excluded items from being indexed by Search & Navigation, but they are still indexed. I have this initialization module:
[InitializableModule] [ModuleDependency(typeof(InitializableModule))] public class FindInitialization : IInitializableModule { public void Initialize(InitializationEngine context) { ContentIndexer.Instance.Conventions.ForInstancesOf<MyPageType>().ShouldIndex(x => false); ContentIndexer.Instance.Conventions.ForInstancesOf<BlockData>().ShouldIndex(x => false); (...) } }
But the blocks and MyPageType are still being indexed.
Any tips on what I am doing wrong?
Two things off the top of my head
Hi!
I have excluded items from being indexed by Search & Navigation, but they are still indexed. I have this initialization module:
But the blocks and MyPageType are still being indexed.
Any tips on what I am doing wrong?