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

Improve TopDocs#merge for pagination

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.8
    • None
    • None
    • New

    Description

      If TopDocs#merge takes from and size into account it can be optimized to create a hits ScoreDoc array equal to size instead of from+size what is now the case.

      Attachments

        1. LUCENE-5515.patch
          8 kB
          Martijn van Groningen
        2. LUCENE-5515.patch
          7 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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: