Indexing content in a content area
Content in a content area is not indexed by default in 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 make for example content of the type block type, become indexed 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.
Last updated: Oct 31, 2016