Support querying with numeric arrays (like $in)
I want to be able to query for multiple numbers in the same query without having to specify separate “range” clauses (or “equals” when they are supported with numbers).
ie. I want to be able to query for [1, 2, 3] and any document which matches 1, 2, or 3 gets returned.
5
votes
![](https://secure.gravatar.com/avatar/300d38a2fb6f7ecc6efff19fa0c401be?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Included in our May 26th release, see docs and changelog here
-
Prasad Kini commented
This is great news!
Are there any plans to add support for strings as well?
-
Prasad Kini commented
Hi Amy,
You can do this using the compound operator with the should clause in current state, until Atlas Search provides a better way to do this.Prasad