Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16650

explain aggregation doesn't output timing information

    • ALL
    • Hide
      db.tablegui.aggregate([
         {
           $geoNear: {
              near: { type: "Point", coordinates: [2.298800, 48.854355] },
              distanceField: "dist.calculated",
              query: { code_postal:  { $gt : 30000 }   },
             limit:500, 
              spherical: true 
           }
         }
          , { $project : { _id : 0  , ville : 1 , code_postal:1 , "dist.calculated":1  } } 
      
      ] , {explain:true} 
         );
      
      Show
      db.tablegui.aggregate([ { $geoNear: { near: { type: "Point" , coordinates: [2.298800, 48.854355] }, distanceField: "dist.calculated" , query: { code_postal: { $gt : 30000 } }, limit:500, spherical: true } } , { $project : { _id : 0 , ville : 1 , code_postal:1 , "dist.calculated" :1 } } ] , {explain: true } );

      explain aggregation doesn't work at all (and doesn't output error)..

            Assignee:
            Unassigned Unassigned
            Reporter:
            pulsar guipulsar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: