November Happy Hour will be moved to Thursday December 5th.

Rebuild Episerver Find indexes site wise

Vote:
 

Hi All,

Can we rebuild the Episerver Find indexes site wise because if we rebuild the indexes using "EPiServer Find Content Indexing Job" schedule job then it will rebuild the indexes for all the sites those are exists in our CMS? We have multiple sites in our solution and we don't want to rebuild the other site indexes while working on other sites.

Please let me know if there is any out-of-box way to do this or we need to create our schedule job for this.

Thanks

Ravindra

#204588
Jun 10, 2019 16:34
Vote:
 

Hi Ravindra,

There isn't any out of the box feature available for this. And, I am also concerned about how you will do that for site specific.

Because the search conventions task type only. How you will pass your site only?

Thanks, and Regards

Praful

#204636
Jun 12, 2019 9:20
Vote:
 

Hi Praful,

I am planning to pass the context site in the schedule job but not think much about this.

BTW thanks for confirming that out of the box this is not available.

Thanks

Ravindra

#204638
Jun 12, 2019 9:38
Vote:
 

You should be able to use ContentIndexer.ReIndex to index a specific site:

ContentIndexer.Instance.ReIndex(siteDefinition, status =>
                        {
                            //Do things with the status
                        },

#204642
Jun 12, 2019 10:49
Vote:
 

Ok, I will definitely try this.

#204653
Jun 12, 2019 14:22
Vote:
 

I wrote a blog post on this so anyone can refer to this for the reference.

https://world.episerver.com/blogs/ravindra-s--rathore/dates/2019/9/now-you-can-reindex-a-targetted-site/

#208602
Oct 28, 2019 17:57
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.