From java-user-return-38425-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Thu Feb 05 12:03:39 2009 Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 259 invoked from network); 5 Feb 2009 12:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 12:03:39 -0000 Received: (qmail 8846 invoked by uid 500); 5 Feb 2009 12:03:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 8449 invoked by uid 500); 5 Feb 2009 12:03:31 -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 8438 invoked by uid 99); 5 Feb 2009 12:03:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 04:03:31 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [208.97.132.5] (HELO spunkymail-a18.g.dreamhost.com) (208.97.132.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 12:03:19 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a18.g.dreamhost.com (Postfix) with ESMTP id 569815B4F0 for ; Thu, 5 Feb 2009 04:02:57 -0800 (PST) Message-Id: <591C6091-FFC5-4C19-9622-BCB27735A2A7@apache.org> From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: <21844751.post@talk.nabble.com> 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: TopDocCollector vs Hits inquiry Date: Thu, 5 Feb 2009 07:02:56 -0500 References: <21844751.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org http://lucene.apache.org/java/2_4_0/api/core/org/apache/lucene/search/Searcher.html#search(org.apache.lucene.search.Query,%20org.apache.lucene.search.HitCollector) The TopDocCollector is a HitCollector. On Feb 4, 2009, at 10:34 PM, Jay Malaluan wrote: > > Hi, > > As I was reading the post "Re: TopDocCollector vs Hits: > TopDocCollector > slowing....", I just got curious on how he explained his change from > Hits to > TopDocCollector. I'm assuming that the Hits is returned from a call > of: > Searcher searcher = new Searcher(); > searcher.search(xxx, xxx) - that will return a Hits object > > I was searching the javadoc API (2.3 and 2.4) and didn't found any > method > that returns TopDocCollector object from a searcher.search(xxx, xxx) > call. > > Would be a great help is someone can expound this. I might be able > to use > this in future implementation. > > > Regards, > Jay Joel Malaluan > -- > View this message in context: http://www.nabble.com/Re%3A-TopDocCollector-vs-Hits-inquiry-tp21844751p21844751.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org