lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
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

thanks
ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message