Try our conversational search powered by Generative AI!

How to index special catalog(Not index all catalog) in episerver commerce

Vote:
 

Hi,

My site have five catalogs and each time i ran a job import to import new data for per catalog and then i call the 

method BuildIndex(false) in order to incrementally updates the index

This method will index all catalogs but i don't want to index all of them, i just want to index specific catalog

So, is there any way to custom index by specific catalog?

Thanks

Thao Pham

#201976
Mar 11, 2019 9:36
Vote:
 

There is no built in way to do it. however if you really want to, to can extend BaseCatalogIndexBuilder, override BuildIndex to only build index of your special catalog, then register it as the indexbuilder in Mediachase.Search.config.

It's not trivial, however.

#201978
Mar 11, 2019 9:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.