[DOCS-2266] Comment on: "manual/reference/operator/query-modifier.txt" Created: 21/Nov/13  Updated: 11/Jan/17  Resolved: 22/Jan/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Blocker - P1
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongodb 2.4

Location: http://docs.mongodb.org/manual/reference/operator/query-modifier/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.48 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/operator/meta/maxScan/
Screen Resolution: 1680 x 1050
repo: docs
source: reference/operator/query-modifier


Participants:
Days since reply: 10 years, 4 weeks ago

 Description   

The docs for $maxScan implies it has the same function as cursor.limit.

In practice it looks like $maxScan is a hard limit on how many docs mongodb will churn through to get results but cursor.limit will limit the output of the query (no matter how many documents are scanned).



 Comments   
Comment by Githook User [ 22/Jan/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2266 remove link to limit for maxScan
Branch: v2.4
https://github.com/mongodb/docs/commit/9e9f440aecde3d3818c3ccbfc145bb6176cbb6e0

Comment by Githook User [ 22/Jan/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2266 remove link to limit for maxScan
Branch: master
https://github.com/mongodb/docs/commit/5555756546729d80c8be2e0f06353d9ac9d1c094

Generated at Thu Feb 08 07:43:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.