Looks like maybe if you use MoreLikeThis directly, you can call it's retrieveInterestingTerms(Reader) method?
Or, MoreLikeThisQuery.rewrite will return a BooleanQuery whose clauses are the interesting terms? Mike On Fri, Nov 5, 2010 at 11:00 AM, starz10de <farag_ah...@yahoo.com> wrote: > > HI Mike, > > I implemented MoreLikeThis but I couldn't figure out where or how to print > the related term to the given query. All what I got is the relevant > documents to the query with their scores. > > Any idea how to get the related terms? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/High-frequency-term-for-the-searched-query-tp1839942p1848702.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org