[
https://issues.apache.org/jira/browse/SOLR-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-8295:
---------------------------
Attachment: SOLR-8295.patch
patch that:
* adds specific tests for this situation that fails
* improves the error reporting for the randomized test to make it easier to
identify what the params were that caused an error
* fixes all of the above failures by using the helper method
DocValues.getNumeric (which returns an empty NumericDocValues object instead of
null like IndexReader..getNumericDocValues)
> 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: [email protected]
For additional commands, e-mail: [email protected]