GitHub user cpoerschke opened a pull request:
https://github.com/apache/lucene-solr/pull/98
distributed expand=true&fl=key NPE fix, expand=true&distrib.singlePass=true
consideration
https://issues.apache.org/jira/i#browse/SOLR-6604
scenario:
* select?expand=true&fl=key hit NPE in ExpandComponent.handleResponse when
the responses of the EXECUTE_QUERY contained no expanded element despite the
requests' purpose including PURPOSE_GET_FIELDS
* select?expand=true&distrib.singlePass=true worked but relied on other
preceding components triggering a GET_FIELDS stage
changes:
* add TestExpandComponent and DistributedExpandComponentTest test cases
* change code to fix NPE
* change code to avoid distrib.singlePass reliance on other components
* tweak test cases to randomly alternate between docValues=false and
docValues=true collapse fields
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bloomberg/lucene-solr trunk-collapse-expand
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/98.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 #98
----
commit c7c79f24230e3f6470e3ee58c9e58346dc1b043b
Author: Christine Poerschke <[email protected]>
Date: 2014-09-08T10:06:41Z
solr: distributed select?expand=true&fl=key NPE fix,
select?expand=true&distrib.singlePass=true consideration
scenario:
* select?expand=true&fl=key hit NPE in ExpandComponent.handleResponse when
the responses of the EXECUTE_QUERY contained no expanded element despite the
requests' purpose including PURPOSE_GET_FIELDS
* select?expand=true&distrib.singlePass=true worked but relied on other
preceding components triggering a GET_FIELDS stage
changes:
* add TestExpandComponent and DistributedExpandComponentTest test cases
* change code to fix NPE
* change code to avoid distrib.singlePass reliance on other components
* tweak test cases to randomly alternate between docValues=false and
docValues=true collapse fields
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]