Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas Search
Created by Guest
Created on Dec 19, 2022

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.
  • ADMIN RESPONSE
    Oct 18, 2025
    Included in our May 26th release, see docs and changelog here ( https://www.mongodb.com/docs/atlas/atlas-search/changelog/#26-may-2023-release )
  • Guest
    May 30, 2023
    This is great news! Are there any plans to add support for strings as well?
  • Guest
    Feb 14, 2023
    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