title: Mongo spatial query $geoNear vs $near
body: <p>I am doing spatial queries in Mongo.  I need to find all venues within 10 miles of San Francisco.  From the command line, I am getting different results when using $geoNear (works) vs $near (doesn't work).  I need to use $near because I am working with Mongoose and it uses $near.</p>
  
  <p>$geoNear works.  I run this command:</p>
  
  <pre><code>db.runCommand({geoNear:"venues",near:[-122.418,37.775], maxDistance:10/69});
  </code></pre>
  
  <p>and I get results ordered by distance, within a 10 mile radius.  Great.</p>
  
  <p>But then I run this $near command and I get no results:</p>
  
  <pre><code>db.venues.find({loc: {$near: [-122.418,37.775] }, $maxDistance:10/69})
  </code></pre>
  
  <p>From what I can tell, they are the same command.  Am I missing something?  If I remove the $maxDistance, I do get results back and they are correctly ordered by distance.  However, I also get results over 10 miles away.</p>
  
  <pre><code>db.venues.find({loc: {$near: [-122.418,37.77] }})
  </code></pre>