lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-12361) Change _childDocuments to Map
Date Thu, 24 May 2018 13:14:00 GMT


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:
>             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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message