我正在使用 Umbraco,出于某种原因,我突然出现 Visual Studio JIT 调试器弹出窗口,询问我是否要使用 w3wp.exe 进行调试和异常,我附加到它并发现以下异常,我找不到任何原因是因为我没有添加任何新内容。
Lucene.Net.Index.MergePolicy.MergeException was unhandled
Message=Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown.
Source=Lucene.Net
StackTrace:
at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(Exception exc)
at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: Lucene.Net.Index.CorruptIndexException
Message=doc counts differ for segment _3qw: fieldsReader shows 1025 but segmentInfo shows 1
Source=Lucene.Net
StackTrace:
at Lucene.Net.Index.IndexWriter.HandleMergeException(Exception t, OneMerge merge)
at Lucene.Net.Index.IndexWriter.Merge(OneMerge merge)
at Lucene.Net.Index.ConcurrentMergeScheduler.DoMerge(OneMerge merge)
at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
InnerException:
有谁知道是什么原因造成的或如何解决?
谢谢