lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gagandeep singh <gagan.g...@gmail.com>
Subject org.apache.lucene.index.CorruptIndexException: Corrupted: docID=582140, docBase=0, chunkDocs=0, numDocs=649475
Date Wed, 11 Sep 2013 05:11:41 GMT
Hi folks

I have a Solr (version 4.3) index where i'm getting this exception when i
try to run a mapreduce:
Caused by: org.apache.lucene.index.CorruptIndexException: Corrupted:
docID=582140, docBase=0, chunkDocs=0, numDocs=649475
        at
org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(CompressingStoredFieldsReader.java:203)
        at
org.apache.lucene.index.SegmentReader.document(SegmentReader.java:133)
        at
org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:110)
        at
org.apache.lucene.index.IndexReader.document(IndexReader.java:436)
        at
org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:640)
        at
org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:568)
        at
com.bloomreach.cpa.JaccardSimilarityQuery.computeScore(JaccardSimilarityQuery.java:78)
        ... 42 more

However, when i use luke handler (/solr/admin/luke?docId=582140) to see the
doc, it shows up nicely. I can search for its url in the browse UI and see
the document as well.

Why is searcher.doc() throwing an exception ?

Thanks
Gagan

Mime
View raw message