diff --git a/source/core/index-multikey.txt b/source/core/index-multikey.txt index 66e3abc3e49..fe051d40637 100644 --- a/source/core/index-multikey.txt +++ b/source/core/index-multikey.txt @@ -202,6 +202,11 @@ any position in the ``ratings`` array. Then, MongoDB retrieves these documents and filters for documents whose ``ratings`` array equals the query array ``[ 5, 9 ]``. +$expr +~~~~~ + +:query:`$expr` does not support multikey indexes. + Examples -------- diff --git a/source/reference/operator/query/expr.txt b/source/reference/operator/query/expr.txt index 64274f0f803..8b0f30339b1 100644 --- a/source/reference/operator/query/expr.txt +++ b/source/reference/operator/query/expr.txt @@ -38,7 +38,9 @@ from the same document in a :pipeline:`$match` stage. If the :pipeline:`$match` stage is part of a :pipeline:`$lookup` stage, :query:`$expr` can compare fields using ``let`` variables. See -:ref:`lookup-multiple-joins` for an example. +:ref:`lookup-multiple-joins` for an example. + +:query:`$expr` does not support :ref:`multikey indexes `. Examples --------