Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.6.0-rc1
-
None
-
None
-
ALL
-
Description
Currently, a text search does not sort by textScore, or by $natural, or by anything that I can discern.
This is a problem because people who put in multiple words will nearly always want to have the best match come first.
I suggest we sort by textScore by default.
Note from the example in steps to reproduce that a .find( { $text : {$search: "string"} } } ) returns documents that are neither in natural order, nor in score order.