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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to