lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <>
Subject Re: MoreLikeThis API changes?
Date Wed, 30 May 2007 18:34:00 GMT
mark harwood wrote:
>>> I want to return the "interesting" terms used for MLT
> Could you do this using Query.extractTerms() on the rewritten version of the MoreLikeThis
query (a BooleanQuery)?

thanks!  that works and avoids the PriorityQueue traverstal problems.  I 
can even get the boost (normalized tf/idf) using BooleanQuery.clauses().

I will post a patch that:

1. lets you set the Similarity
2. makes isNoiseWord() protected


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message