From lucene-user-return-7901-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Sun Apr 11 11:40:24 2004 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 79467 invoked from network); 11 Apr 2004 11:40:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Apr 2004 11:40:23 -0000 Received: (qmail 4195 invoked by uid 500); 11 Apr 2004 11:40:17 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 4049 invoked by uid 500); 11 Apr 2004 11:40:16 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 4032 invoked from network); 11 Apr 2004 11:40:16 -0000 Received: from unknown (HELO c000.snv.cp.net) (209.228.32.77) by daedalus.apache.org with SMTP; 11 Apr 2004 11:40:16 -0000 Received: (cpmta 21696 invoked from network); 11 Apr 2004 04:40:16 -0700 Received: from 24.51.109.181 (HELO ?192.168.1.100?) by smtp.hatcher.net (209.228.32.77) with SMTP; 11 Apr 2004 04:40:16 -0700 X-Sent: 11 Apr 2004 11:40:16 GMT Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <200404111125.03094.lucene@nitwit.de> References: <200404092118.26341.lucene@nitwit.de> <200404101108.28424.lucene@nitwit.de> <7A7367EA-8B1E-11D8-BBDF-000393A564E6@ehatchersolutions.com> <200404111125.03094.lucene@nitwit.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <024D1974-8BAD-11D8-809B-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: ValueListHandler pattern with Lucene Date: Sun, 11 Apr 2004 07:40:19 -0400 To: "Lucene Users List" X-Mailer: Apple Mail (2.613) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Apr 11, 2004, at 5:25 AM, lucene@nitwit.de wrote: > On Saturday 10 April 2004 20:40, Erik Hatcher wrote: >> Thats the beauty.... it is up to you to load the doc iff you want it. > > As I "want" all of them I don't see why this should be faster at all... Then have a look at the Hits class. It is doing more work for caching and keeping a most recently used collection of documents around. By using a HitCollector you are bypassing those mechanisms. Whether it is measurably faster would depend on several other factors. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org