[
https://issues.apache.org/jira/browse/SOLR-12361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476952#comment-16476952
]
mosh commented on SOLR-12361:
-----------------------------
quoting [~dsmiley]
{quote}One other variation on an approach is to keep the _childDocuments member
of SolrInputDocument but have it be a Map<String,List<SolrInputDocument>> to
capture the relationship name.
{quote}
This would make all children as multiValued fields.
How do you propose we store whether the fields was an array or a single value
document when it was entered?
Perhaps we should have the _childDocuments be a Map<String,Object>, having the
values either be a SolrInputDocument or a Collection<SolrInputDocument>.
> 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
>
> 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]