Skip to main content
Support Help Center Help Center home page
AI OnAI Off
Developer documentation Developer community Optimizely Academy Submit a request Sign in
  1. Support Help Center
  2. Optimizely support
  3. Search

How to prevent indexing of certain page and file types in Episerver Find

  • Updated May 25, 2023 18:40
Description

To remove a page or media type from indexing convention code can be added. 

Resolution
e.g. 
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

Fine Indexing

Find Indexing (Legacy)

Please sign in to leave a comment.

Articles in this section

  • Configure your own Search & Navigation timeouts
  • TaskCanceledExeption related to EPiServer.Find.Api.Command.GetResponse
  • Initialize action failed for Initialize on class EPiServer.Find.Commerce.FindCommerceInitializationModule
  • Search with AND not OR as operator
  • Indexing HttpContext property can cause OutOfMemory exception
  • How to facet on search categories with connector content
  • Avoid installing Episerver.Find.CMS with Commerce Manager
  • MapperParsingException during indexing when ContentAPI Search is installed
  • Search queries fail when Solr version exceeds CMS version
  • Overview of Content Indexing

See all 35 articles

Optimizely Website Support Policy Privacy Notice Website terms of use Cookie settings Trust center Third-Party Addons & Platforms
Deutsch