Allow $count and $sort inside $search
Make $count and $sort directly with mongot, and dont lose time between mongot and mongodb.
At MongoDB World last week, we announced that faster counts are now available with sharded collections.
We also announced a feature called Stored Source Fields which help you achieve faster post-aggregation performance. You can use this feature to experience faster sorting with Atlas Search.
You can read more about these two features here.
After trying Stored Source Fields, if it does not meet your performance requirements - please vote on this new feedback item.
-
kyle commented
so i have been following this issue closely and going through the atlas docs, at the bottom of performance considerations there is a section on sorting and the last sentence says "To sort documents based on a numeric, date, or geo field, consider using the Atlas Search $near operator." So you can in fact sort already with the mongot.
-
Bathri Nathan commented
Is there any update regarding this issue?
if so kindly share it here.