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

QueryValueSource should use TwoPhaseIterator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.6
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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
          8 kB
          Michele Palmia
        2. LUCENE-8103.patch
          7 kB
          Michele Palmia

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                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