Skip to content

Commit 53ee226

Browse files
authored
DOCS-16612 Add minN to Agg Operators (#6106) (#6173)
* DOCS-16612 Add to agg operators * * * * * *
1 parent 64d5258 commit 53ee226

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/includes/extracts-agg-operators.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,19 @@ content: |
11361136
11371137
Available in the :pipeline:`$setWindowFields` stage.
11381138
1139+
* - :group:`$minN`
1140+
1141+
- Returns an aggregation of the ``n`` minimum valued elements
1142+
in a group.
1143+
Distinct from the :expression:`$minN` array operator.
1144+
1145+
.. versionadded:: 5.2
1146+
1147+
Available in :pipeline:`$group`,
1148+
:pipeline:`$setWindowFields`
1149+
and as an :ref:`expression <aggregation-expressions>`.
1150+
1151+
11391152
* - :group:`$percentile`
11401153
- .. include:: /includes/aggregation/fact-return-percentile.rst
11411154

0 commit comments

Comments
 (0)