Skip to content

Commit 6e838b2

Browse files
committed
MW PR fixes 1
1 parent 98a628f commit 6e838b2

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

source/fundamentals/indexes.txt

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -343,19 +343,18 @@ Before you can perform a search on an Atlas collection, you must first
343343
create an Atlas Search index on the collection. An Atlas Search
344344
index is a data structure that categorizes data in a searchable format.
345345

346-
Starting in version 5.7 of the {+driver-short+}, you can manage your
347-
Search indexes using the following methods:
346+
You can use the following methods to manage your Search indexes:
348347

349348
- ``createSearchIndex()``
350349
- ``createSearchIndexes()``
351350
- ``listSearchIndexes()``
352351
- ``updateSearchIndex()``
353352
- ``dropSearchIndex()``
354353

355-
The following sections provide example code using each of the preceding
354+
The following sections provide code samples that use each of the preceding
356355
methods to manage Search indexes.
357356

358-
Create Search Indexes
357+
Create a Search Index
359358
~~~~~~~~~~~~~~~~~~~~~
360359

361360
You can use the `createSearchIndex()
@@ -378,11 +377,10 @@ List Search Indexes
378377

379378
You can use the `listSearchIndexes()
380379
<{+api+}/classes/Collection.html#listSearchIndexes>`__
381-
method to return a cursor that contains the search indexes of a given
380+
method to return a cursor that contains the Search indexes of a given
382381
collection. The ``listSearchIndexes()`` method takes an optional string
383-
parameter, ``name``, to return only the indexes with matching index
384-
names. It also takes an optional `aggregateOptions
385-
<{+api+}/interfaces/AggregateOptions.html>`__ parameter.
382+
parameter, ``name``, to return only the indexes with matching names. It
383+
also takes an optional `aggregateOptions <{+api+}/interfaces/AggregateOptions.html>`__ parameter.
386384

387385
The following code uses the ``listSearchIndexes()`` method to list the
388386
Search indexes in a collection:
@@ -393,7 +391,7 @@ Search indexes in a collection:
393391
:start-after: start listSearchIndexes example
394392
:end-before: end listSearchIndexes example
395393

396-
Update Search Indexes
394+
Update a Search Index
397395
~~~~~~~~~~~~~~~~~~~~~
398396

399397
You can use the `updateSearchIndex()
@@ -410,8 +408,8 @@ use the ``updateSearchIndex()`` method to update an index called
410408
:start-after: start dropSearchIndex example
411409
:end-before: end dropSearchIndex example
412410

413-
Remove Search Indexes
414-
~~~~~~~~~~~~~~~~~~~~~
411+
Drop a Search Index
412+
~~~~~~~~~~~~~~~~~~~
415413

416414
You can use the `dropSearchIndex()
417415
<{+api+}/classes/Collection.html#dropSearchIndex>`__ method to remove a Search

0 commit comments

Comments
 (0)