Skip to content

Commit 1a80874

Browse files
p-mongop
andauthored
MONGOID-4945 Reference Atlas search in text search documentation (#4841)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 768546c commit 1a80874

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/tutorials/mongoid-queries.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,18 @@ The following code illustrates retrieving the statistics:
17341734
Text Search
17351735
===========
17361736

1737+
MongoDB provides :manual:`text indexes </core/index-text/>`
1738+
to support text search queries on string content. Text indexes
1739+
can include any field whose value is a string or an array of
1740+
string elements.
1741+
1742+
.. note::
1743+
1744+
MongoDB Atlas also provides
1745+
`Atlas Search <https://docs.atlas.mongodb.com/atlas-search/>`_
1746+
which is a more powerful and flexible text search solution.
1747+
The rest of this section discusses text indexes and not Atlas Search.
1748+
17371749
To perform text search with Mongoid, follow these steps:
17381750

17391751
1. Define a text index on a model.

0 commit comments

Comments
 (0)