lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Get BestFrequentKeywords
Date Mon, 04 Aug 2008 12:45:00 GMT
Look into adding Term Vectors to your fields, which will store the  
term frequency by document.  Then you can use the TermVectorMapper to  
load them sorted by frequency across all the documents in your set.



-Grant

On Aug 4, 2008, at 7:40 AM, Martin vWysiecki wrote:

> Hello to all,
>
> Thanks for help in advance.
>
> Example docs:
>
> 1,"car, volvo, dealer, tyres"
> 2,"car, mercedes, dealer, tyres"
> 3,"car, renault, export, tyres"
>
> So, if i look for "car", so i would like to get, except normal
> results, a list of most frequent terms in result set.
> This would be in my example:
>
> tyres, dealer
>
> tyres 3x
> dealer 2x
>
>
> How can i do that?
>
> THX
>
>
> -- 
> mit freundlichen Grüßen
>
> Martin von Wysiecki
> software development
>
> aspedia GmbH
> Roßlauer Weg 5
> D-68309 Mannheim
> Telefon +49 (0) 621 - 71600 33
> Telefax +49 (0) 621 - 71600 10
> wysiecki@aspedia.de
>
> Geschäftsführung:
> Steffen Künster, Christoph Goldschmitt
> Amtsgericht Mannheim HRB 9942
> www.aspedia.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ








---------------------------------------------------------------------
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