lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Yu" <frank...@cox.net>
Subject RE: Question for System.AccessViolationException in Lucene.NET
Date Thu, 14 Nov 2013 16:31:08 GMT
Itamar,

Thanks for your reply. I will run the CheckIndex. Also search was working
fine after the application got restarted. I am suspecting that it shall stop
working if the Lucene index got corrupted. 

Thanks,

Frank Yu

-----Original Message-----
From: itamar.synhershko@gmail.com [mailto:itamar.synhershko@gmail.com] On
Behalf Of Itamar Syn-Hershko
Sent: Thursday, November 14, 2013 1:22 AM
To: user@lucenenet.apache.org
Subject: Re: Question for System.AccessViolationException in Lucene.NET

Corrupted index perhaps? can you run CheckIndex from the 2.9 version (
https://github.com/apache/lucene.net/blob/Lucene.Net_2_9_4g/src/core/Index/C
heckIndex.cs
 )?


On Thu, Nov 14, 2013 at 10:37 AM, Frank Yu <frank.yu@cox.net> wrote:

> Dear All,
>
>
>
> I have been using Lucene.NET v2.9.2 in prod for a couple of years 
> without any issue but recently it began to throw the 
> AccessViolationException error once in a few weeks. Does anyone know what
would cause it?
>
>
>
> Here is the stacktrace:
>
>
>
> Description: The process was terminated due to an unhandled exception.
>
> Exception Info: System.AccessViolationException
>
> Stack:
>
>    at Lucene.Net.Util.ScorerDocQueue.TopNextAndAdjustElsePop()
>
>    at Lucene.Net.Search.DisjunctionSumScorer.AdvanceAfterCurrent()
>
>    at Lucene.Net.Search.DisjunctionSumScorer.Advance(Int32)
>
>    at Lucene.Net.Search.BooleanScorer2.Advance(Int32)
>
>    at Lucene.Net.Search.ConjunctionScorer.Advance(Int32)
>
>    at Lucene.Net.Search.BooleanScorer2.Advance(Int32)
>
>    at Lucene.Net.Search.ConjunctionScorer.DoNext()
>
>    at Lucene.Net.Search.ConjunctionScorer.NextDoc()
>
>    at 
> Lucene.Net.Search.BooleanScorer2.Score(Lucene.Net.Search.Collector)
>
>    at Lucene.Net.Search.IndexSearcher.Search(Lucene.Net.Search.Weight,
> Lucene.Net.Search.Filter, Lucene.Net.Search.Collector)
>
>    at Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,
> Lucene.Net.Search.Collector)
>
>
>
> Best Regards,
>
>
>
> Frank Yu
>
>



Mime
View raw message