Allow $count and $sort inside $search
Make $count and $sort directly with mongot, and dont lose time between mongot and mongodb.
We’ve started to implement a lightning fast count operator inside of the $search stage and it will come soon. Sort will come a bit later than that, but optimizations around the communication between mongot and mongod should also speed sort up quite a bit. I’ll update the group as both are released to help you stay informed. If you have any questions or want to join me to discuss the syntax let me know.
Is there any estimate when it will be available?
Thanks for the update!! Looking forward to the new changes.
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.