db.colectionName1.aggregate([ { $match: { "filed1": { $in: ["x", "y"] }, } }, { $lookup: { from: "colectionName2", localField: "_id", foreignField: "xy", as: "matchedDate" } }, { $match: {

Please update the title of your post to something more comprehensible.

Please provide the complete pipeline.

Please provide the explain plan of your query.

Please provide sample documents.