lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: returning only certain fields from the docs - parsing on the server side
Date Thu, 25 Jul 2013 22:06:52 GMT
fl is on the server side. Try it in a browser and you'll see that.

Upayavira

On Thu, Jul 25, 2013, at 10: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
> 
> 
> 
> ________________________________
> 
> 
> 
> 
> 
> 
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.

Mime
View raw message