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

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

bq. Is the existence of the pseudo field for children recorded in the schema?

Not yet but I have proposed this within this umbrella issue.

bq. What if "data driven mode" is in use and someone tries to index a document 
with "child" : "foo" after that key has been used to index sub docs. Then the 
auto-add-fields-to-schema logic would record "child" as a string field in the 
schema and the next attempt to use it as a sub-doc key would fail.

How does that situation makes sense?  Implementation details aside, that 
scenario seems flawed on the part of the user and/or their data.


> 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