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

    https://github.com/apache/lucene-solr/pull/416#discussion_r204762445
  
    --- 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 --
    
    We're discussing indexing NEST_PATH_FIELD_NAME tokenized, which would make 
this sRootFilter query more expensive.  Additionally, there might not be a nest 
path for users not tracking the deep nested stuff.  Lets instead use this:  
`*:* NOT _ROOT_:*` since that field is also only populated for child docs.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to