You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Enis Soztutar <en...@gmail.com> on 2007/08/13 12:58:26 UTC

NutchSimilarity#coord()

Hi,

I wonder what was the initial reason to override the coord function in
NutchSimilarity to return 1.0f instead of 1 / (1+distance).
Heuristically, 1/(1+distance) seems a better approach. Although my tests
indicate that DefaultSimilarity#coord() is better for queries with more
than one term, and NutchSimilarit#coord() is better for queries with one
term.