lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Segment Corruption - ForUtil.readBlock AIOBE
Date Mon, 08 Aug 2016 06:36:17 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message