[ 
https://issues.apache.org/jira/browse/SOLR-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613538#comment-16613538
 ] 

David Smiley commented on SOLR-12362:
-------------------------------------

Oh I think I remember more clearly, and I think it is related to the "split" 
param used for JSON that doesn't conform to Solr-update-JSON.  For 
Solr-update-JSON. the sender of the data can choose to send the child doc as a 
field (new way) or use the \_childDocument\_ key (old way) -- no need for some 
new param.  But if some 3rd party JSON is submitted and we split it, there is 
no way to choose how you want the child document to be attached.  So we have 
this param.  The XML side doesn't have this feature.  It does have XSLT but 
that transformation is very expressive, allowing the writer of the XSLT to 
choose how to associate the child doc, and thus there's no similar concern on 
the XML side.

> JSON loader should save the relationship of children
> ----------------------------------------------------
>
>                 Key: SOLR-12362
>                 URL: https://issues.apache.org/jira/browse/SOLR-12362
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: mosh
>            Assignee: David Smiley
>            Priority: Major
>             Fix For: 7.5
>
>          Time Spent: 6.5h
>  Remaining Estimate: 0h
>
> Once _childDocuments in SolrInputDocument is changed to a Map, JsonLoader 
> should add the child document to the map while saving its key name, to 
> maintain the child's relationship to its parent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to