Looks like that when same field is used in multiple conditions in match or find, those sonditions are treated as joinned by logical “OR”, not “AND”:
match {
{‘responseMessage’: { $exists: true }},
{‘responseMessage’: {$ne: “No Suggestions Found”}}
}
returns all documents where responseMessage exists OR responseMessage is not equal to “No Suggestions Found”, which actually returns documents where responseMessage DOES NOT EXIST.
If I need to have those confitions to be joined with “AND”, I need to put them like: