Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Define Performance Options

This section describes the options that you can use with the $search stage to improve the performance of your queries under certain conditions:

Use Case
Option

Run queries that can benefit from parallel execution such as queries accessing different parts of a large dataset simultaneously and improve each individual query latency.

Return the documents stored directly on mongot and minimize the overhead of fetching entire documents from the database after retrieving the search results.