-
Type:
Improvement
-
Resolution: Done
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: Atlas Search
-
None
-
Dotnet Drivers
-
Not Needed
Some search operators like equals or in support querying on array fields. Users can use this feature if they use the overloads of our SearchDefinitionBuilders where they can pass in strings for the field names. We should also add overloads for using expressions with array properties in our SearchDefinitionBuilders. This will allow users to do this
Builders<A>.Search.Equals(x => x.IntArray, 1) Builders<A>.Search.In(x => x.StringArray, new[] {"a", "b"})