Optimizing MongoDB Compound Indexes
emptysquare.net
emptysquare.net
http://chemeo.com/doc/technology
(Search for "Indexing For High Speed Search" to skip non MongoDB related information).
Note that explain runs the actual query to determine the result. If the query is slow, the explain will be slow too. notablescan = true
http://docs.mongodb.org/manual/reference/configuration-optio... a
a.b
a,b,c
The manual actually explains it like that.https://jira.mongodb.org/browse/SERVER-3071
It's index intersection, and it's scheduled for 2.3.1 which is the next next dev release. I'm hoping it makes it in for 2.4.