Hi, We had a discussion on this topic a few month ago.
http://www.mail-archive.com/[email protected]/msg00091.html In particular Doug's answer : http://www.mail-archive.com/[email protected]/msg00101.html Retrieving this information requires a few changes in the code (in particular for count of Phrase Queries). Maybe we could do include it in a future release? Do people thinks it's an useful feature? ----- Original Message ----- From: "Victor Hadianto" <[EMAIL PROTECTED]> To: "Lucene Developers List" <[EMAIL PROTECTED]> Sent: Saturday, May 04, 2002 11:15 PM Subject: number of term match in a search ... > Hi, > > I posted this question in the user list and no response. I posted again in > the dev list hoping that someone can shed a bit of light in my problem. > > 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? > > Hope I don't annoy anyone. > > Regards, > > -- > Victor Hadianto > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
