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

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

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