lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12362) JSON loader should save the relationship of children
Date Thu, 13 Sep 2018 15:37:00 GMT

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

Noble Paul commented on SOLR-12362:
-----------------------------------

well, the custom JSON parser knows the relationship between the parent and child. for instance
, if {{split=/|/child1|/child2}} . It actually means , for each document at {{/}} there are
2 possible child docs at {{/child1}} and {{/child2}} . Now the parser knows whether the child
was found at {{child1}} or  {{child2}} . if the {{SolrInputDocument}} has a way to express
the relationship, then that data can be used 

> 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


Mime
View raw message