lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Chhabra <kapil.chha...@naukri.com>
Subject Re: Most used words
Date Fri, 21 Apr 2006 10:19:52 GMT
Hi,
If I have correctly understood your question, you want the terms in a 
field with the maximum number of occurences.
Try luke [www.getopt.org/*luke*/].
Or else in case you are not able to initialize graphical content on your 
system.
You may use the following script.
src/org/getopt/luke/HighFreqTerms.java
get it from the luke source code.
Regards,
kapilChhabra

Daniel Cortes wrote:

> Hi everybody,
> I have a simple question for you. How do you do to obtain the most 
> used words of  and Index?
> In my case I want to obtain the 10 most used words in a group. I 
> thinked in use a TreeSet with all words and their frequencies of hits 
> (whit the restriction of GROUPID).
> Someone have any idea? Thks for any reply.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message