[ https://issues.apache.org/jira/browse/SOLR-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007619#comment-15007619 ]
ASF subversion and git services commented on SOLR-8295: ------------------------------------------------------- Commit 1714709 from hoss...@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1714709 ] SOLR-8295: Fix NPE in collapse QParser when collapse field is missing from all docs in a segment (merge r1714701) > 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 > Fix For: 5.4, Trunk > > 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