|
I misunderstood, yes. Bad test data, not behavior.
|
|
Same response...
If one doc doesn't match then that's what you'd expect.
|
|
If you increase $maxScan with the same query you continue to get N-1 results.
> db.mxscan.find({nr:{$ne:0}})._addSpecial( "$maxScan" , 105 ).itcount()
|
104
|
>db.mxscan.find({nr:{$ne:0}})._addSpecial( "$maxScan" , 100 ).itcount();
|
99
|
|
|
Its not enough to tell from this if its a bug or not since those results could be correct based on data.
|
Generated at Thu Feb 08 03:28:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.