File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ indexes created by running the migration:
514
514
"fields": [ {
515
515
"type": "vector",
516
516
"numDimensions": 4,
517
- "path": "vector4 ",
517
+ "path": "embeddings ",
518
518
"similarity": "cosine"
519
519
} ]
520
520
},
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:
64
64
:ref:`laravel-schema-builder-atlas-idx` section of the Schema Builder guide.
65
65
66
66
- Access a collection, then call the
67
- :phpmethod:`createSearchIndex() <MongoDB\\Collection::createSearchIndex()>`
67
+ :phpmethod:`createSearchIndex() <phpmethod. MongoDB\\Collection::createSearchIndex()>`
68
68
method from the {+php-library+}, as shown in the following code:
69
69
70
70
.. code-block:: php
Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ You can create an Atlas Search index in either of the following ways:
64
64
:ref:`laravel-schema-builder-atlas-idx` section of the Schema Builder guide.
65
65
66
66
- Access a collection, then call the
67
- :phpmethod:`createSearchIndex() <MongoDB\\Collection::createSearchIndex()>`
67
+ :phpmethod:`createSearchIndex() <phpmethod. MongoDB\\Collection::createSearchIndex()>`
68
68
method from the {+php-library+}. You must specify the ``type`` option as
69
69
``'vectorSearch'``, as shown in the following code:
70
-
70
+
71
71
.. code-block:: php
72
72
73
73
$collection = DB::connection('mongodb')->getCollection('movies');
You can’t perform that action at this time.
0 commit comments