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

explain aggregation doesn't output timing information

    XMLWordPrintableJSON

Details

    • 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} );

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: