Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 75771 invoked from network); 3 May 2002 04:08:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 May 2002 04:08:59 -0000 Received: (qmail 17494 invoked by uid 97); 3 May 2002 04:09:08 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 17391 invoked by alias); 3 May 2002 04:09:08 -0000 Delivered-To: jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 17375 invoked by uid 97); 3 May 2002 04:09:07 -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 17363 invoked by uid 98); 3 May 2002 04:09:06 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Content-Type: text/plain; charset="iso-8859-1" From: Victor Hadianto Reply-To: victorh@nuix.com.au To: Lucene Users List Subject: Number of occurence from word query. Date: Fri, 3 May 2002 14:05:29 +1000 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <0205031405294F.18976@host86.syd.nuix.com.au> Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, Is there a way to found out the number of times a word is found in the query? For example if I search for: Java Programmers Not only I want to retrieve the list of documents that matches, I also wanted, within that search result, the count of Java and Programmers. Is it possible to do this with Lucene? Or do I have do a bit of changes in the code. If this so could someone kindly point me to the area? Currently I'm still reading source code to further understand how it works. Cheers, -- Victor -- To unsubscribe, e-mail: For additional commands, e-mail: