Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 55020 invoked from network); 16 Feb 2009 12:22:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2009 12:22:17 -0000 Received: (qmail 53370 invoked by uid 500); 16 Feb 2009 12:22:11 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 53037 invoked by uid 500); 16 Feb 2009 12:22:10 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 53026 invoked by uid 99); 16 Feb 2009 12:22:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 04:22:10 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.83] (HELO spunkymail-a6.g.dreamhost.com) (208.97.132.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 12:22:00 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a6.g.dreamhost.com (Postfix) with ESMTP id B97F9109F2B for ; Mon, 16 Feb 2009 04:21:39 -0800 (PST) Message-Id: From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: <34E349172A224B36A1FED238631A244B@msrvcn04> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: FieldSelector Date: Mon, 16 Feb 2009 07:21:38 -0500 References: <34E349172A224B36A1FED238631A244B@msrvcn04> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 16, 2009, at 7:00 AM, wrote: > Hi, > > what kind of fields loads IndexSearcher.Document doc(int i)? Only > those with > Field.Store.YES? Yes, Lucene can only load those fields that are stored. > > I'm asking because I do not need to load the tokens - should I use a > FieldSelector or are these fields not loaded? FieldSelector is used to selectively load fields that you want returned with the document. The tokens produced by analysis are stored in other places and will not be returned by the document() method. -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org