Yes, your assumption is wrong. It does what it says, "only the fields in this list will be included" in the response.
wunder On Jul 25, 2013, at 2:44 PM, Matt Lieber wrote: > Hi, > > I only want to return one field in the documents being returned from my query. > I know there is the 'fl' parameter, which is described in the documentation > http://wiki.apache.org/solr/CommonQueryParameters as: > > "This parameter can be used to specify a set of fields to return, limiting > the amount of information in the response. When returning the results to the > client, only fields in this list will be included." > > But seems like 'fl' works on the client side, after the results have been > constructed on the server side, passing the whole docs back on the wire. Is > my assumption wrong ? > Is there a way to filter things out directly on the Solr side, and return > only the field that I desire to the client? > > Thanks, > Matt > >