Why Mongo query for null filters in FETCH after performing IXSCAN
问题 According to Mongo Documentation, The { item : null } query matches documents that either contain the item field whose value is null or that do not contain the item field. I can't find documentation for this, but as far as I can tell, both cases (value is null or field is missing) are stored in the index as null . So if I do db.orders.createIndex({item: 1}) and then db.orders.find({item: null}) , I would expect an IXSCAN to find all documents that either contain the item field whose value is