mongodb/mongo — pull request #557 by dstorch (2013-11-25 17:54:07+00:00)
Title: SERVER-10026 tighten index bounds for some array equality queries

The bounds for a query like {a: [1, 2, 3]} in the new query framework are currently [MinKey, MaxKey]. This change optimizes array equality queries by tightening the index bounds. The bounds for the query {a: [1, 2, 3]} should now consist of the two point intervals [1, 1] and [[1,2,3], [1,2,3]].