Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/416#discussion_r205463666
  
    --- Diff: 
solr/core/src/java/org/apache/solr/response/transform/ChildDocTransformerFactory.java
 ---
    @@ -61,6 +71,12 @@
      */
     public class ChildDocTransformerFactory extends TransformerFactory {
     
    +  public static final String PATH_SEP_CHAR = "/";
    +  public static final String NUM_SEP_CHAR = "#";
    +  private static final BooleanQuery rootFilter = new BooleanQuery.Builder()
    +      .add(new BooleanClause(new MatchAllDocsQuery(), 
BooleanClause.Occur.MUST))
    +      .add(new BooleanClause(new WildcardQuery(new 
Term(NEST_PATH_FIELD_NAME, new BytesRef("*"))), 
BooleanClause.Occur.MUST_NOT)).build();
    --- End diff --
    
    Remember again to use DocValuesExistsQuery


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to