[jira] [Comment Edited] (SOLR-12362) JSON and XML loaders should save the relationship of children

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (SOLR-12362) JSON and XML loaders should save the relationship of children

JIRA jira@apache.org

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

mosh edited comment on SOLR-12362 at 5/16/18 11:54 AM:
-------------------------------------------------------

{quote}
{code:java}
 { "from": { "name": "Peyton Manning", "id": "X18" } } {code}
{quote}
The biggest hold back i foresee working on this issue is to find a way to parse childDocuments such as the one above(quoted from SOLR-12298) while keeping the extendedField capability, [implemented in JsonLoader|https://github.com/apache/lucene-solr/blob/e2521b2a8baabdaf43b92192588f51e042d21e97/solr/core/src/java/org/apache/solr/handler/loader/JsonLoader.java#L556].


was (Author: moshebla):
{quote}
{code:java}
 { "from": { "name": "Peyton Manning", "id": "X18" } } {code}
{quote}
The biggest hold back i foresee working on this issue is how do we add the ability to parse childDocuments such as the one (quoted from [SOLR-12298|https://issues.apache.org/jira/browse/SOLR-12298]) above while keeping the extendedField capability, [implemented in JsonLoader|https://github.com/apache/lucene-solr/blob/e2521b2a8baabdaf43b92192588f51e042d21e97/solr/core/src/java/org/apache/solr/handler/loader/JsonLoader.java#L556].

> 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
>
> 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: [hidden email]
For additional commands, e-mail: [hidden email]