[
https://issues.apache.org/jira/browse/SOLR-12361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488963#comment-16488963
]
David Smiley commented on SOLR-12361:
-------------------------------------
BTW another thing I like about the approach of treating child documents as
field values is that it could make it easier / more natural to _return_ child
documents in all/most of our response formats (except perhaps CSV) since they
are attached to the field name just as will be allowed on the way in.
If we instead go with the path of merely turning the List child into a Map with
String semantic key (#2 path), we would then need to consider how each response
format deals with semantic children (how this looks in XML, JSON, Ruby, ...),
which would certainly add code/complexity rather than the unifying principle of
using field names.
> Change _childDocuments to Map
> -----------------------------
>
> Key: SOLR-12361
> URL: https://issues.apache.org/jira/browse/SOLR-12361
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: mosh
> Priority: Major
> Attachments: SOLR-12361.patch, SOLR-12361.patch
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> During the discussion on SOLR-12298, there was a proposal to change
> _childDocuments in SolrDocumentBase to a Map, to incorporate the relationship
> between the parent and its child documents.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]