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

Improve TopDocs#merge for pagination

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

            • Assignee:
              martijn.v.groningen Martijn van Groningen
              Reporter:
              martijn.v.groningen Martijn van Groningen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment