Skip to content

Commit 832bc70

Browse files
committed
js feedback
1 parent b70545d commit 832bc70

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

source/atlas-search.txt

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ Atlas Search
2020
Overview
2121
--------
2222

23-
In this guide, you can learn how to query an Atlas Search index and use advanced search functionality for your applications. To query the seach index, use a ``$search`` aggregation pipeline stage with {+driver-short+}.
23+
In this guide, you can learn how to query an Atlas Search index and use advanced search
24+
functionality for your {+driver-short+} applications. You can query a search index by
25+
using a ``$search`` aggregation pipeline stage.
2426

25-
To learn more about the ``$search`` pipeline stage, see :manual:`$search
26-
</reference/operator/aggregation/search/>`.
27+
To learn more about the ``$search`` pipeline stage, see the :manual:`$search
28+
</reference/operator/aggregation/search/>` guide in the {+mdb-server+} manual.
2729

2830
.. note:: Only Available on Atlas for MongoDB v4.2 and Later
2931

@@ -47,20 +49,26 @@ Create an Atlas Search Index
4749
Before you can perform a search on an Atlas collection, you must first create an **Atlas
4850
Search index** on the collection. An Atlas Search index is a data structure that
4951
categorizes data in a searchable format. To learn how to create an Atlas Search Index
50-
see the :ref:`pymongo-atlas-search-index` documentation.
52+
see :ref:`pymongo-atlas-search-index`.
5153

5254
Search Your Data
5355
----------------
5456

55-
To use the ``$search`` aggregation pipeline stage, you must select an Atlas Search query operator that specifies the type of query you run. You can also optionally select a collector that groups results by values or ranges. To see a table of all the operators and collectors available in Atlas Search, see :atlas:`Use Operators and Collectors in Atlas Search Queries </atlas-search/operators-and-collectors>`.
57+
To use the ``$search`` aggregation pipeline stage, you must specify an Atlas Search query
58+
operator that indicates the type of query you want to run. You can also optionally specify
59+
a collector that groups results by values or ranges. To view a table of all the operators
60+
and collectors available with Atlas Search, see :atlas:`Use Operators and Collectors in
61+
Atlas Search Queries </atlas-search/operators-and-collectors>`.
5662

57-
The following example uses the ``phrase`` operator, which performs search for documents containing an ordered sequence of terms. To learn more about the ``phrase`` operator, see :atlas:`Phrase </atlas-search/phrase>` in the Atlas guide.
63+
The following example uses the ``phrase`` operator, which performs a search for documents
64+
that contain an ordered sequence of terms. To learn more about the ``phrase`` operator, see
65+
:atlas:`Phrase </atlas-search/phrase>` in the Atlas guide.
5866

59-
The example performs a basic search of the ``title`` field for the query string ``new york``.
60-
The query also includes a:
67+
The example performs a basic search of the ``title`` field for the query string ``"new york"``.
68+
The query also includes the following stages:
6169

62-
- :pipeline:`$limit` stage to limit the output to 10 results.
63-
- :pipeline:`$project` stage to exclude all fields except
70+
- :pipeline:`$limit`, to limit the output to 10 results.
71+
- :pipeline:`$project`, to exclude all fields except
6472
``title`` and add a field named ``score``.
6573

6674
.. io-code-block::
@@ -108,11 +116,12 @@ The query also includes a:
108116
{ title: 'Naked in New York', score: 4.719893455505371 }
109117
{ title: 'Autumn in New York', score: 4.719893455505371 }
110118

111-
Next Steps
112-
----------
119+
Additional Information
120+
----------------------
113121

114-
Now that you've run a query using Atlas Search, review the Atlas Search :atlas:`documentation
115-
</atlas-search>` to learn more about the different :atlas:`operators
116-
</atlas-search/operators-and-collectors>` and other queries you can run. More query examples using
117-
MongoDB Query Language (MQL) are available througout the Atlas :atlas:`documentation
122+
To learn more about the different Atlas Search :atlas:`operators
123+
</atlas-search/operators-and-collectors>` and other queries you can run, see the
124+
Atlas Search :atlas:`documentation </atlas-search>`.
125+
126+
You can view more query examples througout the Atlas :atlas:`documentation
118127
</atlas-search>`.

0 commit comments

Comments
 (0)