SERVER-36681ClosedFixed

Dotted path {$ne: null} against array of scalars returns incorrect results

{$ne: null} has some counterintuitive behavior which has hurt us several times now: That is, \{$ne: null} doesn't necessarily return a subset of the things that \{$exists: true} returns. This ticket is to fix incorrect logic in matcher path to fix this.   -This ticket is to track the work of changing the meaning of \{$ne: null}.-

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.0.0-rc19.0.19.1.0-rc1022
Components
Server components related to this issue
Querying
Labels
Tags and classification
asyaasya2auto-revertedbkpmql-semantics