You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/16 23:43:11 UTC

[jira] [Commented] (SOLR-8295) collapse parser can trigger NPE when a segment has empty DocValues for collapse field (ie: no doc in segment has a value)

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

ASF subversion and git services commented on SOLR-8295:
-------------------------------------------------------

Commit 1714701 from hossman@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1714701 ]

SOLR-8295: Fix NPE in collapse QParser when collapse field is missing from all docs in a segment

> collapse parser can trigger NPE when a segment has empty DocValues for collapse field (ie: no doc in segment has a value)
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8295
>                 URL: https://issues.apache.org/jira/browse/SOLR-8295
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Steve Rowe
>            Assignee: Hoss Man
>         Attachments: SOLR-8295.patch
>
>
> When collapsing on a field that doesn't exist for all documents, the existence of a segment that does not contain any documents that have a value can cause an NPE as the collapse parser assumes the DocValues for a segment will always be non-null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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