Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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 instead");
      

      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.

        Activity

        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Uwe Schindler added a comment -

        Bulk close after release of 3.5

        Show
        Uwe Schindler added a comment - Bulk close after release of 3.5
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Muir [ rcmuir ]
        Resolution Fixed [ 1 ]
        rmuir committed 1179762 (3 files)
        Hide
        Michael McCandless added a comment -

        +1 looks good!

        Show
        Michael McCandless added a comment - +1 looks good!
        Robert Muir made changes -
        Field Original Value New Value
        Attachment LUCENE-3495.patch [ 12498040 ]
        Robert Muir created issue -

          People

          • Assignee:
            Robert Muir
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development