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

Refactor ScorerDocQueue that it subclasses PriorityQueue<HeapedScorerDoc>

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 4.0-BETA, 3.6.2, 6.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is a followup of LUCENE-1935: ScorerDocQueue currently duplicates lots of code from PQ. Using the new generics in PQ since 1935, it is possible to subclass it from generic typed PriorityQueue<HeapedScorerDoc>. This class only needs to add some of the special methods, and should have the same API as before, as it is public.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                uschindler Uwe Schindler
                Reporter:
                uschindler Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: