Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Lucene.Net - Episerver Search errors

Vote:
 

Hey!

My EPiServerErrors log is FULL of entries like this:

2014-11-10 12:02:19,452 [37] ERROR IndexingService: Failed to search index 'default'. Index seems to be corrupt! Message: checksum mismatch in segments file   vid Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)   vid Lucene.Net.Search.IndexSearcher..ctor(Directory path, Boolean readOnly)   vid EPiServer.Search.IndexingService.IndexingServiceHandler.SingleIndexSearch(String q, NamedIndex namedIndex, Int32 maxHits, Int32& totalHits)2014-11-10 12:02:19,457 [37] ERROR IndexingService: Failed to write to index: 'default'. Message: checksum mismatch in segments file   vid Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)   vid Lucene.Net.Index.SegmentInfos.Read(Directory directory)   vid Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit)   vid Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, MaxFieldLength mfl)   vid EPiServer.Search.IndexingService.IndexingServiceHandler.WriteToIndex(String itemId, Document doc, NamedIndex namedIndex)2014-11-10 12:02:19,461 [37] ERROR IndexingService: Failed to delete Document with id: fd1fbab0-85c5-4624-9cc6-af3a70fcdab2|fi. Message: checksum mismatch in segments file   vid Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)   vid Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor)   vid EPiServer.Search.IndexingService.IndexingServiceHandler.DeleteFromIndex(NamedIndex namedIndex, String itemId, Boolean deleteRef)

What is Lucene.Net? Can I turn it off?

#112998
Nov 10, 2014 13:18
Vote:
 

Lucene.NET is the built-in search engine for EPiServer. This is installed via EPiServer Search (not EPiServer Find, that's something else).

I personally think the best course of action is to delete the Index folder from your AppData folder (look in the config as to where it is), and then let EPiServer reindex everything. I mean, you haven't installed & configured Search for nothing, right? The rebuilding is done via http://YOURHOSTNAME/EPISERVERUI/cms/admin/indexcontent.aspx, where you replace YOURHOSTNAME and EPISERVERUI with the values that are applicable to your environment.

That, or you can just disable Search altogether. This means removing the IndexingService folder from your project, and check the configuration for any references to it. That ought to work.

#113240
Nov 17, 2014 8:37
Vote:
 

Are you using a load balanced enviroment?

#113245
Nov 17, 2014 9:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.