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

FirstPassGroupingCollector should use pollLast()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: modules/grouping
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently FirstPassGroupingCollector uses last and remove method (TreeSet) for replacing a more relevant grouping during grouping.
      This can be replaced by pollLast since Lucene trunk is now Java 6. TermFirstPassGroupingCollectorJava6 in Solr can be removed as well.

        Attachments

        1. LUCENE-3468.patch
          3 kB
          Martijn van Groningen

          Activity

            People

            • Assignee:
              martijn.v.groningen Martijn van Groningen
              Reporter:
              martijn.v.groningen Martijn van Groningen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: