Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24025

Don't load .skip()ed documents when possible.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None

      Description

      A posited theory is that if a query is returning in index order, (either explicitly by sort clause, or implicitly by lack of one), and if the query criteria fields are contained within the index (possibly by having no criteria), then we should be able to honor an arbitrarily large .skip() request without loading any of the intervening documents, just by scanning the index.

      Thoughts?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: