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 Oct 13, 2022

Allow faceting for embeddedDocuments

At the moment embeddedDocuments does not allow number or date faceting. (https://www.mongodb.com/docs/atlas/atlas-search/define-field-mappings/#std-label-bson-data-types-embedded-documents) In my opinion, this does not make the operator useful, since Faceting is now the standard for every search.
  • ADMIN RESPONSE
    Oct 18, 2025
    Faceting on numbers and dates in arrays (including embeddedDocuments) is now supported. You must remove any `numberFacet` and `dateFacet` field mappings, and use the `number` and `date` field mapping types instead. See Changelog ( https://www.mongodb.com/docs/atlas/atlas-search/changelog/#30-january-2025-release ).
  • Guest
    Aug 6, 2025
    Hello, have you guys reverted these feature? It stopped working now!
  • Guest
    Feb 12, 2025
    Both array and embeddedDocuments are supported, but you have to use the index type 'number' and not 'numberFacet' See: https://www.mongodb.com/docs/atlas/atlas-search/changelog/
  • Guest
    Feb 7, 2025
    I went ahead and I have tested the root level as a number and as a number[] Facetting is not even working when it's an array of number which makes it almost not usable.
  • Guest
    Jan 30, 2025
    No it is not working on nested fields/documents.
  • Guest
    Oct 24, 2024
    I think this is implemented now, or am I wrong? at least this works for me. Can someone check this?