File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -164,19 +164,10 @@ that covers the fields you want to query. Then, pass a ``$search``
164164or ``$searchMeta`` stage in an aggregation pipeline parameter to
165165the ``raw_aggregate()`` method.
166166
167- .. important ::
167+ .. tip ::
168168
169- You cannot use the ``QuerySet`` API to create Atlas Search indexes.
170- However, you can create an index by exposing your ``MongoClient``
171- object directly, on which you can call the PyMongo driver's
172- ``create_search_index()`` method. To learn how to expose the
173- ``MongoClient``, see the :ref:`django-client-operations` section
174- of this guide.
175-
176- For instructions on using the PyMongo driver to create an Atlas
177- Search index, see `Atlas Search and Vector Search Indexes
178- <{+pymongo-docs+}/indexes/atlas-search-index/>`__
179- in the PyMongo documentation.
169+ To learn how to create Atlas Search indexes, see :ref:`django-indexes-atlas-search`
170+ in the Create Indexes guide.
180171
181172This example runs an Atlas Search query by passing the ``$search`` pipeline
182173stage to the ``raw_aggregate()`` method. The code performs the following
You can’t perform that action at this time.
0 commit comments