Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 71852 invoked from network); 8 Mar 2005 18:37:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Mar 2005 18:37:54 -0000 Received: (qmail 88822 invoked by uid 500); 8 Mar 2005 18:37:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 88797 invoked by uid 500); 8 Mar 2005 18:37:50 -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 88783 invoked by uid 99); 8 Mar 2005 18:37:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lyra.lunarpages.com (HELO lyra.lunarpages.com) (64.235.230.140) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 10:37:49 -0800 Received: from pd9535793.dip.t-dialin.net ([217.83.87.147] helo=Kelvin) by lyra.lunarpages.com with esmtpa (Exim 4.44) id 1D8jaT-0007sb-4h for java-user@lucene.apache.org; Tue, 08 Mar 2005 10:37:45 -0800 From: Kelvin Tan To: X-Mailer: Barca 1.1 (840) - Licensed Version Date: Tue, 8 Mar 2005 19:37:38 +0100 Message-ID: <200538193738.107152@Kelvin> In-Reply-To: <20050308181026.66514.qmail@web26008.mail.ukl.yahoo.com> Subject: Re: Document lazy-loading WAS [Re: Fast access to a random page of the search results.] Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lyra.lunarpages.com X-AntiAbuse: Original Domain - lucene.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - relevanz.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 8 Mar 2005 18:10:26 +0000 (GMT), mark harwood wrote: >>>>=A0"to be able" !=3D "able to be" >>>> >=A0OK, I thought you wanted to count terms within the >=A0title field. If you want to group counts on the whole >=A0field value change the loop in my last post to this: > >=A0for(int i=3D0;i=A0{ >=A0String fieldA=3Dreader.document(i).get("fieldA"); Which brings me back full-circle, because reader.document(i) loads the= entire document with all its fields, hence the request for document= lazy-loading... k --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org