Try our conversational search powered by Generative AI!

How to force reset the Lucene searchindex (Episerver 10.4.3)


I need to reset the index, but it just won't build it.

I've tried this 

var indexes = SearchHandler.Instance.GetNamedIndexes();
foreach(var index in indexes)

This seems to start the indexing process, but I use Luke to explore the index and only one document seems to be indexed. Nothing in any logs what I can see.

Also, if I republish a page. I can see that appears in the index a few seconds after publish

Any suggestions? Is there anyway to trigger a full reindex of the site?

Oct 04, 2017 18:25

That is the correct way of doing it as far as I know.

I am having a related issue, after installing Episerver.Search to an old upgraded site the index isn't populated. When I publish a specific content that one is indexed, but there is no full index done of existing content. The [dbo].[VW_EPiServer.Core.IndexingInformation] database view remains empty.

CMS v10.10.1; Commerce v11.2.5; Search v8.1.0

Oct 05, 2017 14:22

My bad.

Are you referring to the CMS or Commerce index?

The CMS index is the one i am trying to get to work and for that it is:

var searchHandler = ServiceLocator.Current.GetInstance<ContentSearchHandler>();
Oct 05, 2017 15:20

Ok! Thank you. It's the CMS-index. I'll give that a try

Oct 05, 2017 15:34

Yes, works! Thanks a lot

Oct 05, 2017 17:12
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.