Table of Contents

Class ProductIndexBuilderService

Namespace
Dynamicweb.Ecommerce.Indexing
Assembly
Dynamicweb.Ecommerce.dll

The class ProductIndexBuilderService represents service allows to build different indexes in async mode

public class ProductIndexBuilderService
Inheritance
ProductIndexBuilderService
Inherited Members

Methods

Add(Shop, IEnumerable<string>)

Adds products to be updated on next build of the index from the Shop.

public static void Add(Shop shop, IEnumerable<string> productIds)

Parameters

shop Shop

The shop, with index set to be built

productIds IEnumerable<string>

The product ids to be updated in the index.

Build(string, string, IEnumerable<string>, bool)

Builds specified repository inxed updating specified product ids.

public static void Build(string repositoryName, string indexName, IEnumerable<string> productIds, bool buildSynchronous = false)

Parameters

repositoryName string

The repository name.

indexName string

The index name.

productIds IEnumerable<string>

The product ids to update.

buildSynchronous bool

The value indecates whether to build syncronous or not

BuildAllQueued()

Build the all the index added to build queue

public static void BuildAllQueued()
To top