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 Submitted
Categories Atlas Search
Created by Guest
Created on Apr 28, 2023

Allow faceting on boolean fields

Right now you can only facet on string, number, date fields. https://www.mongodb.com/docs/atlas/atlas-search/facet/#facet-definition I would like to also be able to facet on boolean fields.
  • ADMIN RESPONSE
    Oct 18, 2025
    You can now transform documents for Atlas Search, enabling you to index and query Boolean fields as a String to support faceting. See how here ( https://www.mongodb.com/docs/atlas/atlas-search/transform-documents-collections/#example--add-or-modify-fields ).
  • Guest
    May 18, 2025
    This is super important for us, and the view solution seems like a lot of additional complexity. Can you let us know if this is on the roadmap?
  • Guest
    Aug 16, 2024
    Would be great to get support for boolean fields faceting, so we can get our facetted counts based on boolean flags.