I have a requirement to be able to search various collections together with one query, is this possible with MongoDB Atlas Search?
1 Like
Hello Steven, I’m facing the same problem. Did you find a solution for this case within Atlas Search?
If not, how did you solve it?
Thanks!
In MongoDB 6.0.0, we introduced native cross-collection search without the need to maintain materialized views.
@Ignacio_Montero here you will find tutorials for using $unionWith
, $lookup
, and materialized views referenced above. The other two options require less work.
1 Like