This content is archived. See latest version here

Last updated: Nov 16 2015

Indexing methods

In Episerver CMS, content can be placed in a content area which is a property of the type ContentArea. While content in a content area is not indexed by default as part of the main content, methods are avialable for indexing such content. Use one of the following strategies to index, for example, block type content, inside a content area.

  • Use the content type's IndexInContentAreas attribute. All instances of the content type that are dropped in a content area are indexed as a part of the main content.
  • In admin mode, create a Boolean property for the content type (selected/not selected) with the name IndexInContentAreas, and set its value to True. All instances of that content type in a content area are indexed as part of the main content.
  • Change the default behavior of the IContentIndexerConventions.ShouldIndexInContentAreaConvention.

Do you have feedback on this documentation? Send an email to documentation@episerver.com. For development-related questions and discussions, refer to our Forums on https://world.episerver.com/forum/