Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions source/reference/operator/aggregation/sample.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,6 @@ If any of the previous conditions are false, :pipeline:`$sample`:
Random sorts are subject to the :ref:`sort memory restrictions
<sort-memory-limit>`.

MMAPv1 May Return Duplicate Documents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you are using the:

- MMAPv1 storage engine, :pipeline:`$sample` may return the same
document more than once in the result set.

- :ref:`WiredTiger <storage-wiredtiger>` or
:ref:`in-memory <storage-inmemory>` storage engine,
:pipeline:`$sample` does not return duplicate documents. WiredTiger
is the default storage engine as of MongoDB 3.2.

Example
--------

Expand Down