@@ -183,11 +183,11 @@ month.
183
183
184
184
The aggregation pipeline contains the following stages:
185
185
186
- - A ``$project`` stage to extract the month from the ``last_active``
187
- field as a number into the ``month_last_active`` field.
188
- - A ``$group`` stage to group documents by the ``month_last_active``
189
- field and count the number of documents for each month.
190
- - A ``$sort`` stage to set an ascending sort on the month.
186
+ - ``$project`` stage to extract the month from the ``last_active``
187
+ field as a number into the ``month_last_active`` field
188
+ - ``$group`` stage to group documents by the ``month_last_active``
189
+ field and count the number of documents for each month
190
+ - ``$sort`` stage to set an ascending sort on the month
191
191
192
192
.. io-code-block::
193
193
@@ -216,12 +216,12 @@ often they appear in users' interests.
216
216
217
217
The aggregation pipeline contains the following stages:
218
218
219
- - An ``$unwind`` stage to separate each array entry in the
220
- ``genre_interests`` field into a new document.
221
- - A ``$group`` stage to group documents by the ``genre_interests``
222
- field and count the number of documents for each genre.
223
- - A ``$sort`` stage to set a descending sort on the genre popularity.
224
- - A ``$limit`` stage to show only the first three genres.
219
+ - ``$unwind`` stage to separate each array entry in the
220
+ ``genre_interests`` field into a new document
221
+ - ``$group`` stage to group documents by the ``genre_interests``
222
+ field and count the number of documents for each genre
223
+ - ``$sort`` stage to set a descending sort on the genre popularity
224
+ - ``$limit`` stage to show only the first three genres
225
225
226
226
.. io-code-block::
227
227
0 commit comments