[SERVER-3535] modify $near syntax to allow additional parameters easily Created: 04/Aug/11  Updated: 06/Dec/22

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

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

Assigned Teams:
Query Execution
Participants:

 Description   

currently our $near syntax : { loc :

{ $near : [0,0], $maxDistance : 3 }

} forces us to add each $near parameter to the general parsing logic - should really be like $within:

find({ loc : { $near :

{ $center : [[0, 0], 3] }

})

This will let us add $uniqueDocs more easily to $near : so:

find({ loc : { $near :

{ $center : [[0, 0], 3], $uniqueDocs : true }

})


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