Hi @djedi,
Just providing a quick update for this post.
Why does it not order by searchScore?
Regarding searchScore
, documents in the result set are returned in order from highest score to lowest for Atlas Search by default so you don’t need to include an addition descending $sort
on the score
. The screenshot is cut out but my guess is that the first stage shown in that screenshot is a $project
for the searchScore
but let me know if this is not the case. If so, it does appear that the results are appearing from highest to lowest score as expected.
Is there a difference between textScore and searchScore?
textScore
is related to native text search where as searchScore
is used in Atlas Search.
Regards,
Jason