Add array field support for In and Range search operators in SearchDefinitionBuilders

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Unknown
    • 3.2.0
    • Affects Version/s: None
    • Component/s: Atlas Search
    • None
    • None
    • Dotnet Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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"}) 

              Assignee:
              Adelin Mbida Owona
              Reporter:
              Adelin Mbida Owona
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: