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

FirstPassGroupingCollector should use pollLast()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • modules/grouping
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: