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

Refactor ScorerDocQueue that it subclasses PriorityQueue<HeapedScorerDoc>

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 4.0-BETA, 3.6.2, 6.0
    • core/search
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: