Details
-
Question
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
Description
Hi all,
I just have a quick question about the usage of the `$facet` aggregation pipeline operator. It comes as a handy operator to perform multiple aggregations at once, however, it seems to be slower than simply performing the queries in parallel.
Though I am not running those tests on a production setup, I was wondering about the use cases of the `$facet` operator? It seems to be quite related to the `$bucket` and `$bucketAuto` operators and may actually become more efficient when used with those? Is that correct?
Any clue or insights is highly welcome.
Thanks.