Re: Similarity coord,lengthNorm

2005-02-07 Thread Andrzej Bialecki
Erik Hatcher wrote: On Feb 7, 2005, at 8:53 AM, Michael Celona wrote: Would fixing the lengthNorm to 1 fix this problem? Yes, it would eliminate the length of a field as a factor. Your best bet is to set up a test harness where you can try out various tweaks to Similarity, but setting the length

RE: Similarity coord,lengthNorm

2005-02-07 Thread Chuck Williams
t; Sent: Monday, February 07, 2005 6:51 AM > To: Lucene Users List > Subject: Re: Similarity coord,lengthNorm > > > On Feb 7, 2005, at 8:53 AM, Michael Celona wrote: > > Would fixing the lengthNorm to 1 fix this problem? > > Yes, it would eliminate t

Re: Similarity coord,lengthNorm

2005-02-07 Thread Erik Hatcher
to 1.0 may be all you need to do, as the coord() takes care of the other factor you're after. Erik Michael -Original Message- From: Michael Celona [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 8:48 AM To: Lucene Users List Subject: Similarity coord,lengthNorm I

RE: Similarity coord,lengthNorm

2005-02-07 Thread Michael Celona
Would fixing the lengthNorm to 1 fix this problem? Michael -Original Message- From: Michael Celona [mailto:[EMAIL PROTECTED] 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

Similarity coord,lengthNorm

2005-02-07 Thread Michael Celona
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. D