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

David Smiley commented on SOLR-6510:
------------------------------------

I looked into this a bit, applying Christine's patch.  It appears that there 
may be a bug in MultiDocValues (a DocValues view over multiple atomic 
segments).  If there is no value, you *don't* get -1 for the ord, and hence the 
test complains.  The BytesRef shows to be the empty string.  I'll dig into this 
more later.

> select?collapse=... - fix NPE in Collapsing(FieldValue|Score)Collector
> ----------------------------------------------------------------------
>
>                 Key: SOLR-6510
>                 URL: https://issues.apache.org/jira/browse/SOLR-6510
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.8.1
>            Reporter: Christine Poerschke
>            Priority: Minor
>             Fix For: 4.10.2
>
>
> Affects branch_4x but not trunk, collapse field must be docValues=true and 
> shard empty (or with nothing indexed for the field?).



--
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