-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.6.0-rc1
-
Component/s: None
-
None
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.