[ 
https://issues.apache.org/jira/browse/LUCENE-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless resolved LUCENE-7710.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.5
                   master (7.0)

Thanks [~mdrob]!

> BlockPackedReader to throw better exception
> -------------------------------------------
>
>                 Key: LUCENE-7710
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7710
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.10.3
>            Reporter: Mike Drob
>             Fix For: master (7.0), 6.5
>
>         Attachments: LUCENE-7710.patch
>
>
> BlockPackedReader doesn't tell us which file we failed reading. Here's a 
> stack trace from a 4.10.3 install, but it applies to trunk as well.
> {noformat}
> org.apache.solr.common.SolrException; null:java.io.IOException: Corrupted
> at 
> org.apache.lucene.util.packed.BlockPackedReader.<init>(BlockPackedReader.java:56)
> at 
> org.apache.lucene.codecs.lucene42.Lucene42DocValuesProducer.loadNumeric(Lucene42DocValuesProducer.java:204)
> at 
> org.apache.lucene.codecs.lucene42.Lucene42DocValuesProducer.getNumeric(Lucene42DocValuesProducer.java:174)
> at 
> org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsReader.getNumeric(PerFieldDocValuesFormat.java:248)
> at 
> org.apache.lucene.index.SegmentCoreReaders.getNumericDocValues(SegmentCoreReaders.java:194)
> at 
> org.apache.lucene.index.SegmentReader.getNumericDocValues(SegmentReader.java:229)
> at org.apache.lucene.search.FieldCacheImpl.getLongs(FieldCacheImpl.java:883)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to