[SERVER-8607] add support for natural order sorting in memory Created: 18/Feb/13 Updated: 08/Mar/13 Resolved: 18/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently a $natural:1 or $natural:-1 sort order is only explicitly provided with an unindexed scan. We could add support for an indexed scan to be used, with the results sorted by disk loc when necessary. |
| Comments |
| Comment by Aaron Staple [ 18/Feb/13 ] |
|
That's right, I'll follow up on SERVER-8564. |
| Comment by Scott Hernandez (Inactive) [ 18/Feb/13 ] |
|
Aaron, order by DiskLoc isn't the same as $natural via a extent/record scan, is it? Wouldn't this result in different ordering when using an index + $natural (in-mem) sort? |