GitHub user cpoerschke opened a pull request:
select?collapse=... - fix NPE in Collapsing(FieldValue|Score)Collector
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:
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
Author: Christine Poerschke <firstname.lastname@example.org>
solr: select?collapse=... - fix NPE in Collapsing(FieldValue|Score)Collector