You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (Commented) (JIRA)" <ji...@apache.org> on 2012/02/17 23:30:57 UTC

[jira] [Commented] (LUCENE-3797) 3xCodec should throw UOE if a DocValuesConsumer is pulled

    [ https://issues.apache.org/jira/browse/LUCENE-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210622#comment-13210622 ] 

Simon Willnauer commented on LUCENE-3797:
-----------------------------------------

scratch that I the tests actually fail with this patch.. I looked at the wrong test run... stay tuned ;)
                
> 3xCodec should throw UOE if a DocValuesConsumer is pulled 
> ----------------------------------------------------------
>
>                 Key: LUCENE-3797
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3797
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/codecs, core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3797.patch
>
>
> currently we just return null if a DVConsumer is pulled from 3.x which is trappy since it causes an NPE in DocFieldProcessor. We should rather throw a UOE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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