Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-413

Cap offset + limit to maxDoc()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      Selecting a really large offset or limit causes negative array index exceptions, or causes way too much memory to be allocated. We can cap the last doc requested at maxDoc()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yseeley@gmail.com Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: