[SERVER-20048] Server should validate keys in sort specification Created: 19/Aug/15  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: J Rassi Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-47805 Fix validations for sort pattern when... Backlog
Assigned Teams:
Query Optimization
Participants:

 Description   

The server should reject the following sort specification objects as invalid:

  • {"a.": 1}
  • {$x: 1}
  • {a: 1, $natural: 1}

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