[SERVER-24025] Don't load .skip()ed documents when possible. Created: 03/May/16  Updated: 06/Dec/22  Resolved: 06/May/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Rod Adams Assignee: Backlog - Query Team (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-13946 Consider putting skip stages below fe... Closed
Related
Assigned Teams:
Query
Participants:

 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?


Generated at Thu Feb 08 04:05:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.