Skip to content

Commit 7e2790c

Browse files
authored
PYTHON-2220 Mention Atlas Search in documentation (#455)
1 parent a1de506 commit 7e2790c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pymongo/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
TEXT = "text"
5959
"""Index specifier for a `text index`_.
6060
61+
.. seealso:: MongoDB's `Atlas Search
62+
<https://docs.atlas.mongodb.com/atlas-search/>`_ which offers more advanced
63+
text search functionality.
64+
6165
.. versionadded:: 2.7.1
6266
6367
.. _text index: http://docs.mongodb.org/manual/core/index-text/

pymongo/cursor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,9 @@ def sort(self, key_or_list, direction=None):
745745
for doc in cursor:
746746
print(doc)
747747
748+
For more advanced text search functionality, see MongoDB's
749+
`Atlas Search <https://docs.atlas.mongodb.com/atlas-search/>`_.
750+
748751
Raises :class:`~pymongo.errors.InvalidOperation` if this cursor has
749752
already been used. Only the last :meth:`sort` applied to this
750753
cursor has any effect.

0 commit comments

Comments
 (0)