Skip to content

Commit 1062c4d

Browse files
committed
emphasize lines
1 parent f6fbe31 commit 1062c4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/indexes/atlas-search-index.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Create a Search Index
4040
---------------------
4141

4242
To create one or more Atlas Search indexes, use the ``search_indexes#create_one``
43-
or the ``search_indexes#create_many`` methods. The methods will return immediately,
43+
or the ``search_indexes#create_many`` method. Both methods return immediately,
4444
while the indexes are asynchronously created in the background.
4545

4646
The following code example shows how to create an Atlas Search index by providing
@@ -50,6 +50,7 @@ an index definition and an optional name for the index:
5050
:language: ruby
5151
:start-after: start-create-search-index
5252
:end-before: end-create-search-index
53+
:emphasize-lines: 15
5354

5455
You can use ``search_indexes#create_many`` to create multiple Atlas Search indexes by
5556
providing an array of index specifications. Each index specification should include a definition
@@ -60,6 +61,7 @@ code example shows how to create multiple search indexes:
6061
:language: ruby
6162
:start-after: start-create-multiple-search-indexes
6263
:end-before: end-create-multiple-search-indexes
64+
:emphasize-lines: 25
6365

6466
For longer index definitions, it is helpful to define the index definitions outside
6567
of the method call. To learn more about the syntax of index definitions, see the
@@ -123,4 +125,3 @@ API Documentation
123125

124126
To learn more about the {+driver-short+} methods used in this guide, see the
125127
following API documentation:
126-

0 commit comments

Comments
 (0)