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
[EMAIL PROTECTED]

Geschäftsführung:
Steffen Künster, Christoph Goldschmitt
Amtsgericht Mannheim HRB 9942
www.aspedia.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to