java.lang.RuntimeException: Invalid vLong detected (negative values disallowed)

lucene-java-user | Krishnamurthy, Kannan | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Index Corruption, lucene 5.0 codec, term posting.

    lucene-java-user | 1 year ago | Krishnamurthy, Kannan
    java.lang.RuntimeException: Invalid vLong detected (negative values disallowed)

    Root Cause Analysis

    1. java.lang.RuntimeException

      Invalid vLong detected (negative values disallowed)

      at org.apache.lucene.store.ByteArrayDataInput.readVLong()
    2. Lucene
      CheckIndex.testPostings
      1. org.apache.lucene.store.ByteArrayDataInput.readVLong(ByteArrayDataInput.java:153)
      2. org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.decodeMetaData(SegmentTermsEnumFrame.java:464)
      3. org.apache.lucene.codecs.blocktree.SegmentTermsEnum.docFreq(SegmentTermsEnum.java:983)
      4. org.apache.lucene.index.CheckIndex.checkFields(CheckIndex.java:1269)
      5. org.apache.lucene.index.CheckIndex.testPostings(CheckIndex.java:1716)
      5 frames