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

QueryValueSource should use TwoPhaseIterator

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.6
    • modules/other
    • None
    • New

    Description

      QueryValueSource (in "queries" module) is a ValueSource representation of a Query; the score is the value. It ought to try to use a TwoPhaseIterator from the query if it can be offered. This will prevent possibly expensive advancing beyond documents that we aren't interested in.

      Attachments

        1. LUCENE-8103.patch
          7 kB
          Michele Palmia
        2. LUCENE-8103.patch
          8 kB
          Michele Palmia

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h