Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B094710AD4 for ; Thu, 25 Jul 2013 22:07:22 +0000 (UTC) Received: (qmail 74224 invoked by uid 500); 25 Jul 2013 22:07:19 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 74162 invoked by uid 500); 25 Jul 2013 22:07:19 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 74154 invoked by uid 99); 25 Jul 2013 22:07:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 22:07:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.25] (HELO out1-smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 22:07:13 +0000 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0DAF421264 for ; Thu, 25 Jul 2013 18:06:53 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute4.internal (MEProxy); Thu, 25 Jul 2013 18:06:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=UaAHLopJ9PHy6raQToxZ8FVB6q8=; b=S2n E2edO6Oi//+xtlzg6tBiuF0t01liMvjVsyRmi/2kLEelAcYdt3xxN6jkPw63VL9W fka03v6W71sUCNukOe7WR1f/MfSka/ztMfiGS8wqK6OUFJy6ZZDDEun5huE9+3r0 pNwgq8qrhga34FGpxtt+6J0XGoohZpWl5WQJfxNE= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id E7F44B01D0E; Thu, 25 Jul 2013 18:06:52 -0400 (EDT) Message-Id: <1374790012.18355.9223372036857153293.50AB41DE@webmail.messagingengine.com> X-Sasl-Enc: UfrC0rfj3D6PMOT3Of2iamNs2x+l6yWBHWVBrIQ/200j 1374790012 From: Upayavira To: solr-user@lucene.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-23e62cd3 In-Reply-To: References: Subject: Re: returning only certain fields from the docs - parsing on the server side Date: Thu, 25 Jul 2013 23:06:52 +0100 X-Virus-Checked: Checked by ClamAV on apache.org 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.