Description
To remove a page or media type from indexing convention code can be added.
Resolution
ContentIndexer.Instance.Conventions.ForInstancesOf<Type>().ShouldIndex(x => false);
Replace <Type> with the type being avoided.
Ideally this should be done during application startup.
More on conventions here
Please sign in to leave a comment.