Skip to content

Commit 8d55907

Browse files
authored
DOCSP-29497 Aggregation Variable Limitations (#3010)
1 parent cf660ae commit 8d55907

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/release-notes/6.0-compatibility.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ Aggregation
3232

3333
.. include:: /includes/fact-allowDiskUseByDefault.rst
3434

35+
``$$SEARCH_META`` Limitations
36+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37+
38+
Starting in MongoDB 6.0, the Atlas Search ``$$SEARCH_META`` aggregation variable
39+
can be used anywhere after a :pipeline:`$search` stage in any pipeline, but it
40+
cannot be used after the :pipeline:`$lookup` or :pipeline:`$unionWith` stage in
41+
any pipeline. The ``$$SEARCH_META`` aggregation variable cannot be used in any
42+
subsequent stage after a :pipeline:`$searchMeta` stage.
43+
3544

3645
Change Streams
3746
--------------

0 commit comments

Comments
 (0)