Incorrect example for $text on cursor page

XMLWordPrintableJSON

    • 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

            Assignee:
            Luke Lovett (Inactive)
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: