Yes that should be simple. But regardless of the parameter, the fl=id,score use-case should be optimized by default. I think I'll commit the patch as-is and open a new issue to add the distrib.singlePass parameter.
On Sun, Feb 23, 2014 at 11:49 PM, Yonik Seeley <yo...@heliosearch.com> wrote: > On Sun, Feb 23, 2014 at 1:08 PM, Shalin Shekhar Mangar > <shalinman...@gmail.com> wrote: >> I should clarify though that this optimization only works with fl=id,score. > > 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?) > > -Yonik > http://heliosearch.org - native off-heap filters and fieldcache for solr -- Regards, Shalin Shekhar Mangar.