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

    https://github.com/apache/lucene-solr/pull/385#discussion_r191396919
  
    --- Diff: solr/core/src/java/org/apache/solr/update/DocumentBuilder.java ---
    @@ -132,6 +133,9 @@ public static Document toDocument( SolrInputDocument 
doc, IndexSchema schema, bo
         
         // Load fields from SolrDocument to Document
         for( SolrInputField field : doc ) {
    +      if (field.getFirstValue() instanceof SolrDocumentBase) {
    --- End diff --
    
    Good; a one-liner comment would be helpful though


---

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

Reply via email to