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

        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!!!
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development