Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3494

Remove per-document multiply in FilteredQuery

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: