[DOCS-55] $near behavior w.r.t. batchSize Created: 08/Sep/11  Updated: 05/Oct/12  Resolved: 05/Oct/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 11 years, 19 weeks, 5 days ago

 Description   

Should this be better defined and/or doc'd?



 Comments   
Comment by Sam Kleinman (Inactive) [ 05/Oct/12 ]

awkwardly we don't (yet) document batchSize either. opening a new ticket for that.

Comment by auto [ 05/Oct/12 ]

Author:

{u'date': u'2012-10-05T06:56:36-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-55: adding note about near queries and batchSize
Branch: master
https://github.com/mongodb/docs/commit/3009c8b95debdc40cd7b830e8b78590690250e2b

Comment by Greg Studer [ 05/Oct/12 ]

We should add to the documents that batch sizes with $near queries results in undefined behavior, and not to change it. If you want, can link to SERVER-5236 which is the core issue.

Comment by Sam Kleinman (Inactive) [ 03/Oct/12 ]

Greg, I just want to follow up on this, after it's been here for a year, and see if you think it's still relevant? Shouldn't be too hard to add to the documents.

Comment by Greg Studer [ 08/Sep/11 ]

find({ loc :

{ $near : [0,0] }

}).limit( 10000 ).batchSize( 3 )
// results in 3 results

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