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

explain aggregation doesn't output timing information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.6.6
    • Fix Version/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

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

              Dates

              Created:
              Updated:
              Resolved: