FAQ
Hi,

Attached is an updated patch that fixes a bug with boosting boolean
queries, and adds test cases to demonstrate the fix.

I'm no a committer, so what is the procedure for me to convince someone
to apply this?

Regards,

Lee Mallabone.

Search Discussions

  • Doug Cutting at Sep 19, 2002 at 11:00 pm
    This is better. If I'm not mistaken, however, it still does the wrong
    thing for a query like "(A^2 B)^2 C". In this case, A's boost should be
    set to 4, B's to 2 and C's to 1, however I think your code would set
    both A and B's boost to 2.

    Also, your code doesn't pass your test cases:
    junit.framework.AssertionFailedError:
    Query /(germ term)^2.0/ yielded /(germ^2.0 term^2.0)^2.0/,
    expecting /(germ term)^2.0/

    As I said before, fixing this properly requires changes to the scoring
    code, not just to the query parser.

    Doug


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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedSep 10, '02 at 12:19p
activeSep 19, '02 at 11:00p
posts2
users2
websitelucene.apache.org

2 users in discussion

Doug Cutting: 1 post Lee Mallabone: 1 post

People

Translate

site design / logo © 2021 Grokbase