[ https://issues.apache.org/jira/browse/SOLR-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131731#comment-14131731 ]
ASF GitHub Bot commented on SOLR-6510: -------------------------------------- GitHub user cpoerschke opened a pull request: https://github.com/apache/lucene-solr/pull/94 select?collapse=... - fix NPE in Collapsing(FieldValue|Score)Collector https://issues.apache.org/jira/i#browse/SOLR-6510 Patch is against branch_4x where CollapsingQParserPlugin line 230's searcher.getAtomicReader().getSortedDocValues call could return null. On trunk the line 230 call has been replaced (by LUCENE-5666) and so the CollapsingQParserPlugin part of the patch is not required. The TestCollapseQParserPlugin change could go to branch_4x only or branch_4x and trunk. You can merge this pull request into a Git repository by running: $ git pull https://github.com/bloomberg/lucene-solr branch_4x-collapse-empty Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/94.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #94 ---- commit 5e2968541221307a6ca7b397c61a040289421ac1 Author: Christine Poerschke <cpoersc...@bloomberg.net> Date: 2014-09-05T17:00:38Z solr: select?collapse=... - fix NPE in Collapsing(FieldValue|Score)Collector ---- > 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 > > 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