lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21446] - Fuzzy Searches do not get a boost of 0.2 as stated in "Query Syntax" doc
Date Wed, 10 Sep 2003 15:56:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21446>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21446

Fuzzy Searches do not get a boost of 0.2 as stated in "Query Syntax" doc

otis@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From otis@apache.org  2003-09-10 15:56 -------
Cormac, the problem you described at
http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg02819.html seems clear.

I do not see any mention of 0.2f boost in any of the *Fuzzy* classes.  This is a
documentation bug, which I will fix soon.

However, your fix may still be valid, as exact matches should never have lower
score than fuzzy ones.  I would be very greatful if you could submit that
levtest class as a JUnit test, so we can see the bug clearly before applying
your patch.

Finally, why did you choose the boost of 0.2?  Why not 0.1 or 0.3 for example? 
And is it possible that choosing a random(?) number such as 0.2, will work for
your test document set, but may not work for some other cases?

Thank you.

Mime
View raw message