File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
source/reference/operator/aggregation Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -330,8 +330,14 @@ different ``$lookup`` operations.
330330 - .. _equality-match-performance:
331331
332332 - ``$lookup`` operations that perform equality matches with a
333- single join typically perform better when the source collection
334- contains an index on the ``foreignField``.
333+ single join perform better when the foreign collection contains
334+ an index on the ``foreignField``.
335+
336+ .. important::
337+
338+ If a supporting index on the ``foreignField`` does not
339+ exist, a ``$lookup`` operation that performs an equality
340+ match with a single join will likely have poor performance.
335341
336342 * - :ref:`Uncorrelated Subqueries <lookup-uncorrelated-subquery>`
337343
You can’t perform that action at this time.
0 commit comments