modify $near syntax to allow additional parameters easily

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 }

      })

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: