Github user dsmiley commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/416#discussion_r204786129
--- Diff:
solr/core/src/java/org/apache/solr/response/transform/ChildDocTransformerFactory.java
---
@@ -70,7 +78,8 @@ public DocTransformer create(String field, SolrParams
params, SolrQueryRequest r
}
String parentFilter = params.get( "parentFilter" );
- if( parentFilter == null ) {
+ boolean buildHierarchy = params.getBool("hierarchy", false);
+ if( parentFilter == null && !buildHierarchy) {
--- End diff --
if sRootFilter needs to depend on a nest field, and if nest fields aren't
required, I guess we can't relax this constraint.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]