Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

About counting term hits

"Fco. Mario Barcala" Rodríguez

2008-11-12

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello:

I am new to LUCENE and I am testing some issues about it. I can retrieve
the number of documents which satisfies a query, but I don't find how to
obtain the number of terms which match it.

For example, if I search for the word "house", I want to obtain the
number of times the word occurs (not the number of documents).

Is it possible to do it in LUCENE?

Thanks in advance,

Mario Barcala


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.