File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ You can create an Atlas Search index in either of the following ways:
6464 :ref:`laravel-schema-builder-atlas-idx` section of the Schema Builder guide.
6565
6666- Access a collection, then call the
67- :phpmethod:`MongoDB\Collection::createSearchIndex()` from the
67+ :phpmethod:`MongoDB\Collection::createSearchIndex()` method from the
6868 {+php-library+}, as shown in the following code:
6969
7070 .. code-block:: php
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ You can create an Atlas Search index in either of the following ways:
6464 :ref:`laravel-schema-builder-atlas-idx` section of the Schema Builder guide.
6565
6666- Access a collection, then call the
67- :phpmethod:`MongoDB\Collection::createSearchIndex()` from the
67+ :phpmethod:`MongoDB\Collection::createSearchIndex()` method from the
6868 {+php-library+}. You must specify the ``type`` option as
6969 ``'vectorSearch'``, as shown in the following code:
7070
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function up(): void
3333 });
3434 // end-create-search-indexes
3535
36- // start -create-vs-index
36+ // begin -create-vs-index
3737 Schema::create ('galaxies ' , function (Blueprint $ collection ) {
3838 $ collection ->vectorSearchIndex ([
3939 'fields ' => [
You can’t perform that action at this time.
0 commit comments