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?
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
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>();
Ok! Thank you. It's the CMS-index. I'll give that a try
Yes, works! Thanks a lot