Re: keywords in a document

2007-04-09 Thread Bill Janssen
Try looking at the "retrieveInterestingTerms" method on the class MoreLikeThis. http://lucene.apache.org/java/2_0_0/api/org/apache/lucene/search/similar/MoreLikeThis.html Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: keywords in a document

2007-04-09 Thread Erick Erickson
Well, a couple of things The IndexReader is opened on an already existing index. You need to have built an index to open a reader on it. So there isn't really a default reader. So usually, one uses Lucene to create an index out of some number of documents, and use that index for searching. O

keywords in a document

2007-04-09 Thread Ted Chen
Hi, I'm new to Lucene, but I did spend quite some time trying to find an answer to the problem before turning to you gurus for help. I'm given a text file. My task is to extract some top keywords from the file so that these words can describe this document. Ideally, terms with the hig