lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject Re: how to chang lucene's default sort algorithm?
Date Mon, 23 May 2005 17:33:40 GMT
On Monday 23 May 2005 15:30, luqun lou wrote:

>         I am a beginner of IR.I want to use Lucene with BM25
> algorithm,but i dont know how to change its default sort algorithm?

Implement your own Similarity class derived from Similarity and activate it 
using setSimilarity(mySmilarity).

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
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