You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/09/12 16:23:00 UTC

[jira] [Commented] (SOLR-12362) JSON loader should save the relationship of children

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

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

While working on a bit of documentation, I can't figure out why we need the "anonChildDocs" param flag here, yet not for XML.  I know there were some syntax ambiguities but I thought we solved them by looking for the unique key in a child map to differentiate an atomic update from a child doc.  The code makes it seem it's a mere matter of placing the doc on the SolrInputDocument ananonymously vs as a field; but it can't be jus that or we wouldn't of needed this in the first place (we didn't for XML).  Maybe it was only an issue when the document is not solr-update JSON but sliced with "split" param?  Can you help remind me [~moshebla]?  I'm hoping that regardless of what the reason is, we can outright remove it in Solr 8.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org