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

    https://github.com/apache/lucene-solr/pull/385#discussion_r191400441
  
    --- Diff: solr/core/src/test/org/apache/solr/update/AddBlockUpdateTest.java 
---
    @@ -260,10 +266,124 @@ public void testExceptionThrown() throws Exception {
         assertQ(req(parent + ":Y"), "//*[@numFound='0']");
         assertQ(req(parent + ":W"), "//*[@numFound='0']");
       }
    -  
    +
    +  @Test
    +  public void testSolrNestedFieldsList() throws Exception {
    +    SolrInputDocument document1 = new SolrInputDocument() {
    +      {
    +        final String id = id();
    +        addField("id", id);
    +        addField("parent_s", "X");
    +        addField("children",
    +            new ArrayList<SolrInputDocument>()
    --- End diff --
    
    Use sdoc(...) from SolrTestCaseJ4 instead of this trick


---

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

Reply via email to