Github user dsmiley commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/416#discussion_r204785843 --- Diff: solr/core/src/java/org/apache/solr/response/transform/ChildDocTransformerFactory.java --- @@ -61,6 +65,10 @@ */ public class ChildDocTransformerFactory extends TransformerFactory { + public static final String PATH_SEP_CHAR = "/"; + public static final String NUM_SEP_CHAR = "#"; + private static final String sRootFilter = "*:* NOT " + NEST_PATH_FIELD_NAME + ":*"; --- End diff -- Oh I forgot. Perhaps instead create the Lucene Query directly (rather than create a String that needs to be parsed). Use a BooleanQuery with a MUST_NOT clause around DocValuesFieldsExistsQuery for the nest path field? And comment this only applies to schemas that are enabled for this enhanced nesting.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org