lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Celona" <>
Subject RE: Similarity coord,lengthNorm
Date Mon, 07 Feb 2005 13:53:53 GMT
Would fixing the lengthNorm to 1 fix this problem?


-----Original Message-----
From: Michael Celona [] 
Sent: Monday, February 07, 2005 8:48 AM
To: Lucene Users List
Subject: Similarity coord,lengthNorm

I have varying length text fields which I am searching on.  I would like
relevancy to be dictated predominantly by the number of terms in my query
that match.  Right now I am seeing a high relevancy for a single word
matching in a small document even though all the terms in my query don't
match.  Does, anyone have an example of a custom Similarity sub class which
overrides the coord and lengthNorm methods.




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message