Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Commerce – How relates IContentRepository.Save(IContent content, SaveAction action, AccessLevel access) to Find indexing?

$
0
0

Hi there,

I am wondering if items saved via call IContentRepository.Save are automatically indexed on Find. This is question about Commerce.

For example I am saving product under some category parents with new name. What behavior should I expect from Find?

// Commerce
var freshNewName = "Fresh New Name";
var clone = brandProductContent.CreateWritableClone<CatalogContentBase>();
clone.Name = freshNewName;
clone.DisplayName = freshNewName;

I found that for CMS is working automatically under certain circumstainces (Indexing/Introduction): “Given that we have referenced the EPiServer.Find.Cms assembly in our EPiServer CMS project published content will be automatically indexed. Content are also reindexed, or deleted from the index, when they are saved, moved or deleted. Each language version …”.


Viewing all articles
Browse latest Browse all 6894

Trending Articles