Lucene - Core
  1. Lucene - Core
  2. LUCENE-3494

Remove per-document multiply in FilteredQuery

    Details

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

      Description

      Spinoff of LUCENE-1536.

      In LUCENE-1536, Uwe suggested using FilteredQuery under-the-hood to implement filtered search.

      But this query is inefficient, it does a per-document multiplication (wrapped.score() * boost()).

      Instead, it should just pass the boost down in its weight, like BooleanQuery does to avoid this per-document multiply.

        Activity

        Robert Muir created issue -
        Robert Muir made changes -
        Field Original Value New Value
        Attachment LUCENE-3494.patch [ 12498003 ]
        Hide
        Uwe Schindler added a comment -

        +1, commit this so i can move forward with 1536!

        Thanks for help!!!

        Show
        Uwe Schindler added a comment - +1, commit this so i can move forward with 1536! Thanks for help!!!
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Muir [ rcmuir ]
        Resolution Fixed [ 1 ]
        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
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 8m 1 Robert Muir 06/Oct/11 17:13
        Resolved Resolved Closed Closed
        51d 20h 15m 1 Uwe Schindler 27/Nov/11 12:29

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development