-
Type:
Bug
-
Resolution: Done
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Docs
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The page https://api.mongodb.org/python/current/api/pymongo/cursor.html#pymongo.cursor.Cursor.sort has a $text search example that's using a plain dict and not SON and ends up causing an error due to order sensitivity.
Mentioned on Google Groups. https://groups.google.com/forum/#!topic/mongodb-user/GJgLoyyu3tA