[SERVER-12917] Equality queries on _id ignore $natural sort Created: 26/Feb/14 Updated: 10/Dec/14 Resolved: 03/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.6.0-rc0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
$natural hint is obeyed:
But $natural sort isn't:
|
| Comments |
| Comment by J Rassi [ 03/Mar/14 ] |
|
I was under the impression that the semantics for $natural hint and $natural sort were equivalent: force a collection scan. Given your disagreement, I'll consider that assumption incorrect. Resolving works-as-designed. |
| Comment by Eliot Horowitz (Inactive) [ 28/Feb/14 ] |
|
I'm not sure why would expect it to be. |