How can I coax Spring Data to show me mongo's query plan (a.k.a cursor.explain())
问题 I am writing an API with Spring/Mongo/Jersey to do CRUD on a POJO that has a generic map of properties like this: public class Thing { private String id; @Indexed private Map<String,String> properties; ... This is working great to return items. My resource code looks like this: BasicDBObject query = new BasicDBObject("properties.name", "vlad the impaler"); return Response.ok(myService.queryThings(query)).build(); And my abstract DAO looks like this: public List<T> find(Query query) { return