Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Michael McCandless
On Tue, Feb 9, 2010 at 2:56 PM, Tom Burton-West wrote: > I'm not sure I understand. CheckIndex reported a negative number: > -16777214. Right, we are overflowing the positive ints, which wraps around to the smallest int (-2.1 billion), and then dividing by 128 = ~ -1677214. Lucene has an array

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Michael McCandless
exception. > > Hmm -- can you try a patched Lucene in your area?  I have one small > change to try that may increase the limit to termIndexInterval > (default 128) * 2.1 billion. > > Mike > > > -- > View this message in context: > http://old.nabble.com/TermInfosR

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Tom Burton-West
e.com/TermInfosReader.get-ArrayIndexOutOfBoundsException-tp27506243p2752.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Michael McCandless
>>    test: stored fields...OK [3550 total field count; avg 4.856 fields >> per doc] >>    test: term vectorsOK [0 total vector count; avg 0 term/freq >> vector fields per doc] >> >> WARNING: 1 broken segments (containing 554615 documents) detected >> WARNING: would write new segments file, and 554615 documents would be lost, >> if -fix were specified >> >> >> [tburt...@slurm-4 ~]$ >> >> >> The index is corrupted. In some places ArrayIndex and NPE are not >> wrapped as CorruptIndexException. >> >> Try running your code with the Lucene assertions on. Add this to the >> JVM arguments:  -ea:org.apache.lucene... >> >> >> -- >> View this message in context: >> http://old.nabble.com/TermInfosReader.get-ArrayIndexOutOfBoundsException-tp27506243p27518800.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> >

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Michael McCandless
ecified > > > [tburt...@slurm-4 ~]$ > > > The index is corrupted. In some places ArrayIndex and NPE are not > wrapped as CorruptIndexException. > > Try running your code with the Lucene assertions on. Add this to the > JVM arguments:  -ea:org.apache.lucene... > > > -- > View this message in context: > http://old.nabble.com/TermInfosReader.get-ArrayIndexOutOfBoundsException-tp27506243p27518800.html > Sent from the Solr - User mailing list archive at Nabble.com. > >

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Tom Burton-West
ns on. Add this to the JVM arguments: -ea:org.apache.lucene... -- View this message in context: http://old.nabble.com/TermInfosReader.get-ArrayIndexOutOfBoundsException-tp27506243p27518800.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-09 Thread Michael McCandless
Which version of Solr/Lucene are you using? Can you run Lucene's CheckIndex tool (java -ea:org.apache.lucene org.apache.lucene.index.CheckIndex /path/to/index) and then post the output? Have you altered any of IndexWriter's defaults (via solrconfig.xml)? Eg the termIndexInterval? Mike On Mon, F

Re: TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-08 Thread Lance Norskog
The index is corrupted. In some places ArrayIndex and NPE are not wrapped as CorruptIndexException. Try running your code with the Lucene assertions on. Add this to the JVM arguments: -ea:org.apache.lucene... On Mon, Feb 8, 2010 at 1:02 PM, Burton-West, Tom wrote: > Hello all, > > After optimiz

TermInfosReader.get ArrayIndexOutOfBoundsException

2010-02-08 Thread Burton-West, Tom
Hello all, After optimizing rather large indexes on 10 shards (each index holds about 500,000 documents and is about 270-300 GB in size) we started getting intermittent TermInfosReader.get() ArrayIndexOutOfBounds exceptions. The exceptions sometimes seem to occur on all 10 shards at the sam