[ 
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 hoss...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to