lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Created) (JIRA)" <>
Subject [jira] [Created] (LUCENE-3495) BlockJoinQuery doesn't implement boost
Date Thu, 06 Oct 2011 18:12:29 GMT
BlockJoinQuery doesn't implement boost

                 Key: LUCENE-3495
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 3.4
            Reporter: Robert Muir
             Fix For: 3.5, 4.0

After reviewing LUCENE-3494, i checked other queries and noticed that BlockJoinQuery currently
throws UOE for getBoost and setBoost:
throw new UnsupportedOperationException("this query cannot support boosting; please use childQuery.setBoost

I don't think we can safely do that in queries, because other parts of lucene rely upon this
working... for example BQs rewrite when
it has a single clause and erases itself.

So I think we should just pass down the boost to the inner weight.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message