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