You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/05/30 08:18:20 UTC

[jira] [Commented] (SOLR-4877) SolrIndexSearcher#getDocSetNC should check for null return in AtomicReader#fields()

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

Uwe Schindler commented on SOLR-4877:
-------------------------------------

Does anybody has an idea, how to test this bug?
                
> SolrIndexSearcher#getDocSetNC should check for null return in AtomicReader#fields()
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-4877
>                 URL: https://issues.apache.org/jira/browse/SOLR-4877
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2, 4.3
>            Reporter: Uwe Schindler
>         Attachments: SOLR-4877.patch
>
>
> In LUCENE-5023 it was reported that composite reader contexts should not contain null fields() readers. But this is wrong, as a null-fields() reader may contain documents,m just no fields.
> fields() is documented to contain null fields, so DocSets should check for null (like all fields do in Lucene). It seems that DocSetNC does not correctly check for null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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