HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

These examples apply to solutions with the Optimizely Search & Navigation-Customized Commerce integration (_EPiServer.Find.Commerce_) installed.

## Exclude CatalogContentBase from being indexed

Creating a POCO class and indexing it in Search & Navigation is easy. The problem is to figure out how to reindex objects when catalog content changes. This is an example of how to ensure that nothing that inherits from CatalogContentBase gets indexed.

## Add default price, prices, and inventory

You can add desired properties to your POCO class. For example: IEnumerable<Price> Prices, Price DefaultPrice, and IEnumerable<Inventories>. These properties can be populated by using ReadonlyPriceLoader and InventoryLoader.

## Listen for updates

You can override methods that return a delegate for indexing content by creating POCO objects and index them.