Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas Search
Created by Guest
Created on Jul 15, 2021

Allow the option to mention the number of search results needed

I would like to get only the top scored 1000 or 2000 records while doing the search. Currently this is 2 step process : $search and then use the $limit stage.
  • Guest
    Feb 22, 2024
    This is especially important because with the separate $search and $limit stages, all the results from the $search stage are loaded to memory and potentially triggering unnecessary getMore commands when there are more results than the $limit stage