You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Enis Soztutar <en...@gmail.com> on 2007/08/14 10:27:05 UTC

Similarity

Hi,

I want to define different implementations for the functions in 
Similarity class. For example i need to define sloppyFreq() different 
for fields "foo" and "bar". Is there a way around this?

Also i wonder why the fieldname is passed to some of the functions in 
Similarity (such as Similarity#lengthNorm()) but not all of them. Does 
anybody know the reason for this?

Thanks.

Enis Soztutar

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