diff --git a/pymongo/__init__.py b/pymongo/__init__.py index ba6b17af72..b87668cd65 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -58,6 +58,10 @@ TEXT = "text" """Index specifier for a `text index`_. +.. seealso:: MongoDB's `Atlas Search + `_ which offers more advanced + text search functionality. + .. versionadded:: 2.7.1 .. _text index: http://docs.mongodb.org/manual/core/index-text/ diff --git a/pymongo/cursor.py b/pymongo/cursor.py index 2a994389ac..ad116d4124 100644 --- a/pymongo/cursor.py +++ b/pymongo/cursor.py @@ -745,6 +745,9 @@ def sort(self, key_or_list, direction=None): for doc in cursor: print(doc) + For more advanced text search functionality, see MongoDB's + `Atlas Search `_. + Raises :class:`~pymongo.errors.InvalidOperation` if this cursor has already been used. Only the last :meth:`sort` applied to this cursor has any effect.