File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,18 @@ MongoDB offers the following system variables:
107
107
108
108
- One of the allowed results of a :pipeline:`$redact` expression.
109
109
110
+ * - .. variable:: SEARCH_META
111
+
112
+ - A variable that stores the metadata results of an Atlas Search
113
+ query. In a :pipeline:`$project` stage, a field set to the
114
+ variable :variable:`$$SEARCH_META` returns the :atlas:`metadata
115
+ results </reference/atlas-search/query-syntax/#metadata-result-types>`
116
+ for the query.
117
+
118
+ For an example of its usage, see Atlas Search :atlas:`facet
119
+ </reference/atlas-search/facet/#search_meta-aggregation-variable>`
120
+ and :atlas:`count </reference/atlas-search/counting/#search_meta-aggregation-variable>`.
121
+
110
122
.. seealso::
111
123
112
124
- :expression:`$let`
You can’t perform that action at this time.
0 commit comments