Can you run checkindex and include the output? On Mon, Aug 8, 2016 at 2:36 AM, Ravikumar Govindarajan <ravikumar.govindara...@gmail.com> wrote: > For some of the segments we received the following exception during merge > as well as search. They look to be corrupt [Lucene 4.6.1 & Sun JDK > 1.7.0_55] > > Is this a known bug? Any help is much appreciated > > The offending line of code is in ForUtil.readBlock() method... > > *final int encodedSize = encodedSizes[numBits];* > > java.lang.ArrayIndexOutOfBoundsException: 34 at > org.apache.lucene.codecs.lucene41.ForUtil.readBlock(ForUtil.java:201) at > org.apache.lucene.codecs.lucene41.Lucene41PostingsReader$BlockDocsEnum.refillDocs(Lucene41PostingsReader.java:411) > at > org.apache.lucene.codecs.lucene41.Lucene41PostingsReader$BlockDocsEnum.advance(Lucene41PostingsReader.java:536) > at org.apache.lucene.search.TermScorer.advance(TermScorer.java:85) at > org.apache.lucene.search.ConjunctionScorer.doNext(ConjunctionScorer.java:82) > at > org.apache.lucene.search.ConjunctionScorer.nextDoc(ConjunctionScorer.java:100) > at > org.apache.lucene.search.ConjunctionScorer.nextDoc(ConjunctionScorer.java:99) > at org.apache.lucene.search.Scorer.score(Scorer.java:64) > > The numBits value also looks to be varied across different corrupt segments > > -- > Ravi
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org