"limit" : 0 change in semantics?
-
-
It appears that setting limit to 0 now limits the number of results to 0, rather than be unlimited, as stated in the online documentation. Is this a recent change? Can you change the documentation if so?
The tutorial says:
Note that we use a limit of one in the above. Specifying a limit of zero means "don't limit the results: return everything you've got".
-
The doc is being revised right now, and that change is on the list. Thanks for asking about it.
-
if limit:0 now means return zero returns, how do you ask to return all results?
-
Set a large number as the limit. But if you truly want all results, you are much better off using a cursor; if you don’t know the reasonable upper bound, then you really can’t have confidence that you’ll get all the results without a timeout.
-
The docs are still incorrectly stating zero returns all.
-