Try our conversational search powered by Generative AI!

(Multi-site scenario) Is it possible using Find to index categories/products for each site?

Vote:
 

Hi guys,

Currently I am working on a multiple websites project . 

Each site has a own catalog and each catalog has differnet categories.

There are products that sharing between catalog as a noderelation (additional categories).

In episerver Find, I see all three sites share the same cateogry and articles find index. 

Is it possible to index the categories and products for each site?

Is it possible to implement that the search result on each site only includes the categories/products that exists on its own catalog ?

Thanks, 

ChiChing

#207479
Sep 20, 2019 17:13
Vote:
 

Hi

The short answer is no. You can only work with a single find index for all your catalogs and sites in a multisite scenario.

What you should do instead is after indexes are created then do filtering on the search result based on what site you are on. There is a build in filter called FilterOnCurrentSite, that should give your search for content on current site.

When going for filtering on catalog items you should do similar. Filter(x => x.CatalogId.Match(catalogid)).

#207484
Sep 21, 2019 10:14
ChiChing Lam - Sep 23, 2019 14:40
Thanks! I will try the suggestion. :)
ChiChing Lam - Sep 23, 2019 14:42
Thanks for the tips!
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.