SERVER-136629Open
$expr comparison with null pushed into a sort-providing full index scan drops documents where the field is missing
_Found by an AI bug hunt and confirmed by a differential oracle: results differ with {{internalQueryPlannerPushdownFilterToIxscanForSort}} on and off, while the classic and SBE engines agree with each other._ h2. Problem A {{$expr}} filter that compares a field with {{null}} using {{$lt}}, on a field that is not the leading field of an index that provides the sort, is pushed into a full index scan. In aggregation expressions a missing field sorts below null, so the comparison is true for docume