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 Nov 7, 2019

Add boolean as a search data type

I want to search boolean fields in my search index, but currently hit an error when trying to specify boolean fields: "Your index could not be built: Could not resolve type id 'boolean'" When is boolean type support coming?
  • ADMIN RESPONSE
    Oct 18, 2025
    This feature has been implemented. Index Definition https://docs.atlas.mongodb.com/reference/atlas-search/index-definitions/#boolean Query Operator https://docs.atlas.mongodb.com/reference/atlas-search/equals/