Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 83984 invoked from network); 21 Apr 2005 03:21:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Apr 2005 03:21:54 -0000 Received: (qmail 49593 invoked by uid 500); 21 Apr 2005 03:21:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 49568 invoked by uid 500); 21 Apr 2005 03:21:54 -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 49554 invoked by uid 99); 21 Apr 2005 03:21:54 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web31102.mail.mud.yahoo.com (HELO web31102.mail.mud.yahoo.com) (68.142.200.35) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 20 Apr 2005 20:21:54 -0700 Received: (qmail 69931 invoked by uid 60001); 21 Apr 2005 03:21:42 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=qE6bbecf5HyTvdvbdW3twrITdV6rbamlRc1osTGqEEiHMp4bqaRzJfShEMBM4STSkKRgY0ZzosQnNurxIyoVWh0gnO/A4Y7TottV7f/wlETJbV2NEZyFhOaE4ybwwE/x9bHmDw6uHJdBARVOBcHqCfuKCqeqiRPM0LUmZqfRt+I= ; Message-ID: <20050421032142.69929.qmail@web31102.mail.mud.yahoo.com> Received: from [69.201.130.192] by web31102.mail.mud.yahoo.com via HTTP; Wed, 20 Apr 2005 20:21:42 PDT Date: Wed, 20 Apr 2005 20:21:42 -0700 (PDT) From: Otis Gospodnetic 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 --- Tomcat Programmer wrote: > > 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. I don't think so. You may want to check whether Documents are deleted before you pull them, that's all. > > 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. Thanks, I removed the stale links. > 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? http://www.mail-archive.com/index.php?hunt=lucene Otis --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org