Get explain of find() to work through the legacy $explain at “queryPlanner” verbosity.
- Expose a static method or function which takes a BSONObjBuilder and a pointer to a tree of stages. Should be able to convert this into the BSON for the queryPlanner section.
- Leave existing explain implementation intact until it is truly dead code that can be deleted.
- related to
SERVER-29618 $geoWithin in aggregation pipeline after $lookup and $unwind returns incorrect results