Github user moshebla commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/416#discussion_r213202931 --- Diff: solr/core/src/test/org/apache/solr/response/transform/TestChildDocTransformerHierarchy.java --- @@ -238,6 +238,17 @@ public void testSingularChildFilterJSON() throws Exception { tests); } + @Test + public void testNonRootChildren() throws Exception { + indexSampleData(numberOfDocsPerNestedTest); + assertJQ(req("q", "test_s:testing", + "sort", "id asc", + "fl", "*,[child childFilter='lonely/lonelyGrandChild/test2_s:secondTest' parentFilter='_nest_path_:\"lonely/\"']", --- End diff -- Perhaps I could try and remove the parentFilter requirement all together for hierarchy based queries?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org