[ https://issues.apache.org/jira/browse/SOLR-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131883#comment-14131883 ]
Joel Bernstein commented on SOLR-6510: -------------------------------------- Thanks for the patch Christine. It looks I can call the FieldCache.getTermsIndex() and it should protect against the null. I'll test that out. If that works, I'll just remove the direct call to AtomicReader.getSortedDocValues(), which was probably never needed in the first place. > 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 > Assignee: Joel Bernstein > Priority: Minor > > 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