@@ -40,7 +40,7 @@ Create a Search Index
40
40
---------------------
41
41
42
42
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,
44
44
while the indexes are asynchronously created in the background.
45
45
46
46
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:
50
50
:language: ruby
51
51
:start-after: start-create-search-index
52
52
:end-before: end-create-search-index
53
+ :emphasize-lines: 15
53
54
54
55
You can use ``search_indexes#create_many`` to create multiple Atlas Search indexes by
55
56
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:
60
61
:language: ruby
61
62
:start-after: start-create-multiple-search-indexes
62
63
:end-before: end-create-multiple-search-indexes
64
+ :emphasize-lines: 25
63
65
64
66
For longer index definitions, it is helpful to define the index definitions outside
65
67
of the method call. To learn more about the syntax of index definitions, see the
@@ -123,4 +125,3 @@ API Documentation
123
125
124
126
To learn more about the {+driver-short+} methods used in this guide, see the
125
127
following API documentation:
126
-
0 commit comments