"I want to know the reason why the index {" user.login ": 1} does not apply to the request.
Sorry for the late reply. Here is my explanation: All queries return the "_id" field by default, unless you omit them in the projection. Even if you did not specify "_id" in {"user.login": 1}, it will return "_id" that the reason index will not be closed.
source share