Hm, probably that is not needed. I thought that tf would influence the score if I don't set it to constant value, but it seems that it is sufficient to override just lengthNorm.
-----Original Message----- From: Karl Wettin [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2008 4:56 PM To: java-user@lucene.apache.org Subject: Re: Sorting in lucene through Document boosting 15 sep 2008 kl. 14.08 skrev Dragan Jotanovic: > I made simple Similarity implementation: > public float tf(float arg0) { > return 1f; > } Why do you touch the term frequency? Is that prehaps unrelated to what's discussed in this thread? karl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]