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 ]
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Muir [ rcmuir ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development