Yes, with a little bit of work, as there is nothing out of the box
for it.
If you store term vectors (or re-analyze the document) you can use
the sample code from my ApacheCon 2005 talk (http://www.cnlp.org/
apachecon2005/, which also covers how to use TermVectors) OR you can
try implementing the new TermVectorMapper functionality in the trunk
version of Lucene.
Cheers,
Grant
On Oct 16, 2007, at 4:14 PM, Jae Joo wrote:
Hi,
Does Lucene have the function to return top 5 most frequency
keywords in
the article?
Thanks,
Jae
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
Lucene Boot Camp Training:
ApacheCon Atlanta, Nov. 12, 2007. Sign up now! http://
www.apachecon.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]