Indexing content in a content area
Content in a content area is not indexed by default in Episerver Search & Navigation (formerly Episerver Find). This topic describes the methods available for indexing content in a content area.
How it works
In Episerver CMS, you can place content in a content area, which is a property of the type ContentArea. Content in a content area is not indexed by default as part of the main content, but there are methods for achieving content area indexing.
Use one of the following ways to index, for example, content of the type block type inside a content area:
- Use the IndexInContentAreas attribute on the content type. Instances of the content type that are dropped in a content area are indexed as a part of the main content.
- Create a Boolean property in admin mode for the content type (selected/not selected) with the name IndexInContentAreas, and set the value to True. Instances of the content type in a content area are indexed as a part of the main content.
- Change the default behavior of the IContentIndexerConventions.ShouldIndexInContentArea convention.
Do you find this information helpful? Please log in to provide feedback.
Last updated: Oct 31, 2016