[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:
Related
is related to SERVER-5672 Natural Sort ignores Index Closed
is related to SERVER-8564 Clean up unneeded code for $natural h... Backlog
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?

Generated at Thu Feb 08 03:17:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.