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

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

bq. Do you refer to childDocuments as the semantic key?

Only child documents that are labelled; not the anonymous ones we have today.  
I'm referring to the label (virtual field name pointing to the child doc) as 
the "semantic key".  I think this would be best exemplified via a test.  See 
JsonLoaderTest.testFewParentsJsonDoc.  Right now it's putting the children into 
getChildDocuments() (which is henceforth for _annoymous_ child docs only).  If 
anonChildDocFlag==false, there should be no anonymous child docs; instead these 
docs should show up under the _fields_ "children", and "grandchildren" 
depending on which depth.

> JSON and XML loaders 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
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Once _childDocuments in SolrInputDocument is changed to a Map, the JsonLoader 
> and XmlLoader 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