You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MongoDB index options determine how the indexes are used and stored.
197
-
You can specify index options when calling an index creation method such
198
-
as ``index()`` on a ``Blueprint`` instance.
197
+
You can specify index options when calling an index creation method, such
198
+
as ``index()``, on a ``Blueprint`` instance.
199
199
200
200
The following migration code shows how to add a collation to an index as an
201
201
index option. Click the :guilabel:`VIEW OUTPUT` button to see the indexes
@@ -236,7 +236,7 @@ field:
236
236
]
237
237
238
238
To learn more about index options, see :manual:`Options for All Index Types </reference/method/db.collection.createIndex/#options-for-all-index-types>`
239
-
in the MongoDB server manual.
239
+
in the {+server-docs-name+}.
240
240
241
241
Create Sparse, TTL, and Unique Indexes
242
242
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -256,7 +256,7 @@ method with a ``MongoDB\Laravel\Schema\Blueprint`` parameter. Call the
256
256
appropriate helper method on the ``Blueprint`` instance and pass the
257
257
index creation details.
258
258
259
-
The following migration code shows how to create a sparse and TTL index
259
+
The following migration code shows how to create a sparse and a TTL index
260
260
by using the index helpers. Click the :guilabel:`VIEW OUTPUT` button to see
261
261
the indexes created by running the migration, including the default index on
262
262
the ``_id`` field:
@@ -317,7 +317,7 @@ field:
317
317
]
318
318
319
319
To learn more about these indexes, see :manual:`Index Properties </core/indexes/index-properties/>`
320
-
in the MongoDB server manual.
320
+
in the {+server-docs-name+}.
321
321
322
322
Create a Geospatial Index
323
323
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -360,7 +360,7 @@ default index on the ``_id`` field:
360
360
361
361
To learn more about geospatial indexes, see
362
362
:manual:`Geospatial Indexes </core/indexes/index-types/index-geospatial/>` in
0 commit comments