Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 29350 invoked from network); 20 Apr 2005 03:57:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2005 03:57:57 -0000 Received: (qmail 98503 invoked by uid 500); 20 Apr 2005 03:57:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 98455 invoked by uid 500); 20 Apr 2005 03:57:51 -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 98439 invoked by uid 99); 20 Apr 2005 03:57:51 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web51609.mail.yahoo.com (HELO web51609.mail.yahoo.com) (206.190.38.214) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 19 Apr 2005 20:57:50 -0700 Received: (qmail 35469 invoked by uid 60001); 20 Apr 2005 03:57:47 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=TS7lTnjMMpaTadvOsUA3kYDxhUGdEzkNUlSfDISCYYEHLsHfe3qGoV6milAAAQ5TRO/DrCZC5GbqYffIgu48Yxyff/oCS3tYnpsOlXyWF0sYht6Kk0os54J3U3OKAvmb9xJF2QG4JH1DIi3bch+MJ3wfHKd11uSfJ0AKd0ErsIY= ; Message-ID: <20050420035747.35467.qmail@web51609.mail.yahoo.com> Received: from [68.116.201.173] by web51609.mail.yahoo.com via HTTP; Tue, 19 Apr 2005 20:57:46 PDT Date: Tue, 19 Apr 2005 20:57:46 -0700 (PDT) From: Tomcat Programmer Subject: Re: numDocs method of IndexReader To: java-user@lucene.apache.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Otis, Thanks for your answer on the integer issue. I was not sure if the index was actually limited, or if it was just the numDocs method call. I guess it really does not matter which it is; and for me, I don't think my index will ever get that large! I do have a couple of questions from your response: > > Iterating the index like that is ok, but each call > do reader.document(int) pulls the entire Document > off the disk, which can get expensive. > Thanks for the clarification. Is there a 'better' i.e. less expensive way to extract values from each document than to iterate through them in that fashion? I would appreciate any suggestions that you can offer. > > The link to list archives should be on > lucene.apache.org. > I checked the lucene.apache.org site. The "Lucene-user" link (on the left under the Resources heading) which points to the eyebrowse apache site is broken. The Achive link for lucene-user under the "mailing lists" page points takes you to the mbox archive which is not searchable. Hopefully these problems will be corrected soon. In the mean time, does anyone know of any other sites that might be archiving the lucene-user list and which provide a search capability? Thanks, Tom C. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org