lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: [patch] boolean query boosting (updated)
Date Thu, 19 Sep 2002 23:03:33 GMT
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:
    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.


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

View raw message