In the documentation of MongoDB, the rationale behind choosing the plan for the execution of a query, is described in this link. The works value plays a major r
works