[DOCS-2319] Query Sort Order Validation Created: 27/Nov/13  Updated: 04/Mar/23  Resolved: 07/Jan/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: mongodb-2.6

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-11568 query optimizer fails to use index wh... Closed
Participants:
Days since reply: 10 years, 2 weeks, 5 days ago

 Description   

Sort order in queries will be limited to the following values in 2.6:

  • 1 for ascending
  • -1 for descending
  • {$meta: "textScore"} for text search (descending by score)

All other values will be rejected by the query framework.



 Comments   
Comment by Githook User [ 31/Jan/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2319 2.6 restricts sort specification values
Branch: master
https://github.com/mongodb/docs/commit/03dd5eca95f44c5506392eef1f93e5117eb5a307

Comment by Kay Kim (Inactive) [ 07/Jan/14 ]

in internal/next branch

Generated at Thu Feb 08 07:43:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.