lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: exception while writing to index
Date Tue, 17 Sep 2013 12:17:50 GMT
On Mon, Sep 16, 2013 at 3:12 PM, nischal reddy
<nischal.srinivas@gmail.com> wrote:

> I seem to be getting this error when i hit the max rambuffer size and
> lucene is trying to flush my ram.
>
> When i debugged i found out that there were couple of negative values in
> offsetStartDeltaBuffer field of "Lucene41PostingsWriter".
>
> am i screwing up somewhere with the offsets, i am not sending any negative
> offset values.
>
> What would i possibly be doing wrong? need your help.

This is spooky: if you are indeed messing up offsets in some way,
IndexWriter should have detected this and thrown an exception on that
doc that did it.

Yet, you are not seeing an exception until much later, which is wrong.
 So there seems to be a bug somewhere...

Which Lucene version are you using?

Can you run with assertions enabled?  Can you whittle this down to a
small test case?

Which JVM are you using?

Mike McCandless

http://blog.mikemccandless.com

> Thanks in advance,
> Nischal Y

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message