Re: Counting term frequency without using Explanation

2007-02-19 Thread Erick Erickson
son [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 8:19 PM To: java-user@lucene.apache.org Subject: Re: Counting term frequency without using Explanation Before you go too far down this path, please consider what a "hit" is. It's more complicated than you think . If a

RE: Counting term frequency without using Explanation

2007-02-19 Thread Harini Raghavan
to the threads you have mentioned? Thanks, Harini -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 8:19 PM To: java-user@lucene.apache.org Subject: Re: Counting term frequency without using Explanation Before you go too far down this

Re: Counting term frequency without using Explanation

2007-02-07 Thread csahat
Hi Erick, Thanks for your help. I found it now . Maybe I will donate an article / FAQ regarding this... since many newbies like me asking for things like this. On 2/7/07, Erick Erickson <[EMAIL PROTECTED]> wrote: Before you go too far down this path, please consider what a "hit" is. It's

Re: Counting term frequency without using Explanation

2007-02-07 Thread Erick Erickson
Before you go too far down this path, please consider what a "hit" is. It's more complicated than you think . If all you want to do is count up the number of times any term appears in the document, it's not too hard. You should be able to use a termenum/termdocs process to count them. TermDocs s

Counting term frequency without using Explanation

2007-02-07 Thread csahat
Hi all, I'm so sorry if this question already answered before in this list, but I already search the list, and I couldn't find the answer. This is what I want to do : When the user type in the query, for example "WebSphere Java", Lucene will show not only the score, but showing the term cou