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 Charts
Created by Roy Kiesler
Created on Sep 14, 2022

Support Atlas Search-based filtering when embedded dashboard/chart filter is set

Currently, when `setFilter()` is called on an embedded dashboard/chart, a `$match` aggregation stage is added to the data source pipeline; however, if the data source pipeline is using `$search` or `$searchMeta`, we need a way to allow Atlas Search to handle the filtering, since `$match` cannot precede `$search/$searchMeta`. Providing a programmatic way to set/modify a `compound` operator inside `$search/$searchMeta` would address this need