Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 64987 invoked from network); 28 Mar 2008 03:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 03:25:06 -0000 Received: (qmail 51153 invoked by uid 500); 28 Mar 2008 03:24:59 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 51115 invoked by uid 500); 28 Mar 2008 03:24:58 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 51104 invoked by uid 99); 28 Mar 2008 03:24:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 20:24:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 03:24:19 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id 848B971C276; Thu, 27 Mar 2008 20:24:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id 816A771C10B for ; Thu, 27 Mar 2008 20:24:30 -0700 (PDT) Date: Thu, 27 Mar 2008 20:24:30 -0700 (PDT) From: Chris Hostetter To: java-dev@lucene.apache.org Subject: Re: count hits sorted by the field In-Reply-To: <16323833.post@talk.nabble.com> Message-ID: References: <16323833.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : I want to count the hits sorted by the field. : For example: Field: "table" : Values of Field:"tab1","tab2","tab3","tab4" : : I need to know how many hits are in "tab1", ,"tab2","tab3","tab4" : : How to implement it (Hitcollector, Sort?)? 1) your use of the term "sorted" in your problem statement is very confusing, since the example of your problem doesn't seem to have anything to do with sorting. you need to elaborate on what exactly it is you are trying to achieve. 2) please post follow up questions/discussion regarding this topic on java-user... http://people.apache.org/~hossman/#java-dev Your question is better suited for the java-user@lucene mailing list ... not the java-dev@lucene list. java-dev is for discussing development of the internals of the Lucene Java library ... it is *not* the appropriate place to ask questions about how to use the Lucene Java library when developing your own applications. Please resend your message to the java-user mailing list, where you are likely to get more/better responses since that list also has a larger number of subscribers. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org