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
4
votes
![](https://secure.gravatar.com/avatar/afa9c4ba40476ecdc8a52217a4832902?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)