[
https://issues.apache.org/jira/browse/SOLR-12722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597111#comment-16597111
]
mosh commented on SOLR-12722:
-----------------------------
This should be a fairly simple ticket, but one minor detail.
Now that child documents are stored as SolrDocument and SolrInputDocument's
fields([SOLR-12631|https://issues.apache.org/jira/browse/SOLR-12361]), there
could be a case where a field is passed in to the child document return fields,
but does not meet constraints for the parent query's return fields, causing the
child field to be removed from the final response. e.g:
{code}"fl", "id, child_doc_field, [child fl='id, name_s']"{code}
This particular field list parameter would cause the removal of name_s from the
child document when the response is written. e.g.
{code:javascript}{"id": 1, "child_doc_field": {"id": 2}}{code}
> ChildDocTransformer should have fl param
> ----------------------------------------
>
> Key: SOLR-12722
> URL: https://issues.apache.org/jira/browse/SOLR-12722
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: mosh
> Priority: Major
>
> There is a long-overdue TODO in ChildDocTransformer, to be able to pass an fl
> param to specify which fields should be fetched by ChildDocTransformer
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]