Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Execution
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 }})