Hi,
We keep getting errors about Smart search every morning from 4am.(message detail showing below. Our DBS is out, is it something needs to be done in the database? Kentico 9 Portal Engine.
Message: Index locked for write: CMS.Search.Lucene3.SearchLock
Exception type: Lucene.Net.Store.LockObtainFailedException Stack Trace: at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, IndexDeletionPolicy deletionPolicy, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, MaxFieldLength mfl) at CMS.Search.Lucene3.LuceneSearchManager.CreateIndexWriter(String path, ISearchAnalyzer analyzer, Boolean create) at CMS.Search.SearchIndexProvider.GetWriter(Boolean create) at CMS.Search.SearchHelper.Update(ISearchDocument iDoc, SearchIndexInfo indexInfo) at CMS.Membership.UserSearchIndexer.ExecuteProcessTask(SearchTaskInfo sti) at CMS.Search.SearchIndexer.ExecuteTask(SearchTaskInfo sti) at CMS.Search.SearchTaskInfoProvider.TaskIndexer() at CMS.Search.SearchTaskInfoProvider.RunInternal()
Thanks Wei Wang
What version of Kentico are you using? There is also a search troubleshooting documentation page on this error - have you tried the tips there? Just search for "Index locked for write", for example latest docs. What is your environment setup?
Please, sign in to be able to submit a new answer.