Description
In Episerver Find all media and page types are indexed by default. Here is how to remove certain page and file types from future indexing.
Steps
To remove a page or media type from indexing convention code can be added.
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
Comments
0 comments
Please sign in to leave a comment.