Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 53282 invoked from network); 31 Oct 2007 14:19:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 14:19:07 -0000 Received: (qmail 19912 invoked by uid 500); 31 Oct 2007 14:18:40 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 19889 invoked by uid 500); 31 Oct 2007 14:18:40 -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 19878 invoked by uid 99); 31 Oct 2007 14:18:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 07:18:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.196.101.40] (HELO web59214.mail.re1.yahoo.com) (66.196.101.40) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 31 Oct 2007 14:18:57 +0000 Received: (qmail 4288 invoked by uid 60001); 31 Oct 2007 14:18:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Rose3JYJ5/5rWJMWHPyUDeq9pKggXl1Is+PmxKgByveVooV07Vkj1e7u6VmxvW0CEf1dbo4YBhBW635LnZLcOm+QeiLABVU58kcefH3x7Dp42iZ67B91UeSdVvebnjIpjJYPnr59dZ6SD6QsyZSWcVIiJfgkTYSzdRvre74PIag=; X-YMail-OSG: gO9LuhMVM1kVMkWG0nYs.yT_DhjwHAYcHO.o_H0VC0buGcGukQ2G1oZ2YVDD1qVl8LH5TUgHSCJNXL..i1DGMQsJWGmA1MJdYWlEE_7V3m_7Oomiz8pniU77wXAPXGmD Received: from [68.167.115.34] by web59214.mail.re1.yahoo.com via HTTP; Wed, 31 Oct 2007 07:18:18 PDT Date: Wed, 31 Oct 2007 07:18:18 -0700 (PDT) From: Cool Coder Subject: Best way to count tokens To: java-user@lucene.apache.org In-Reply-To: <471E4291.8020504@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1455217544-1193840298=:3304" Content-Transfer-Encoding: 8bit Message-ID: <543555.3304.qm@web59214.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1455217544-1193840298=:3304 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Group, I need to display list of tokens (tags) in my side those have got maximum occurances in my index. One way I can think of is to keep track of all tokens during analysis and accordingly display them. Is there any other way? e.g. if I want to display tokens in order of their occurences as well as their weightage. regards, Ranjan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1455217544-1193840298=:3304--