Looking at https://www.mongodb.com/docs/atlas/atlas-search/equals/ it looks like $search supports filtering for null value fields, however using the driver it doesn’t look like i’m able to use
.Equals(“field”, BsonNull.Value), doesnt look like the library is accepting BsonNull.Value or null…
How can i overcome this?
Hi @Ilan_Lidovski,
Unfortunately passing string and null to Equals builder is not supported by C# driver. We are going to add support in this in the near future. Please follow CSHARP-4938 for this issue.