[ https://issues.apache.org/jira/browse/SOLR-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13926170#comment-13926170 ]
Gregg Donovan commented on SOLR-5768: ------------------------------------- Thanks, Shalin! You're right -- it's not quite so easy. Here's an updated patch with a test that returns multiple fields in a single pass. I'm not sure if it's better to work with the fields as represented by rb.rsp.getReturnFields() or by rb.req.getParams().get(CommonParams.FL). > Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all > fields and skip GET_FIELDS > --------------------------------------------------------------------------------------------------- > > Key: SOLR-5768 > URL: https://issues.apache.org/jira/browse/SOLR-5768 > Project: Solr > Issue Type: Improvement > Reporter: Shalin Shekhar Mangar > Priority: Minor > Fix For: 4.8, 5.0 > > Attachments: SOLR-5768.diff > > > Suggested by Yonik on solr-user: > http://www.mail-archive.com/solr-user@lucene.apache.org/msg95045.html > {quote} > Although it seems like it should be relatively simple to make it work > with other fields as well, by passing down the complete "fl" requested > if some optional parameter is set (distrib.singlePass?) > {quote} -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org