File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -186,14 +186,15 @@ documents for MongoDB Atlas Search from Eloquent models (MongoDB or SQL).
186
186
To customize the index definition, add the ``index-definitions``
187
187
configuration to the ``mongodb`` entry in your
188
188
``config/scout.php`` file. The following code demonstrates how to
189
- specify a custom index definition for the ``scout_index`` index:
189
+ specify a custom index definition to create on the
190
+ ``scout_movies`` collection:
190
191
191
192
.. code-block:: php
192
193
193
194
'mongodb' => [
194
195
'connection' => env('SCOUT_MONGODB_CONNECTION', 'mongodb'),
195
196
'index-definitions' => [
196
- 'scout_index ' => [
197
+ 'scout_movies ' => [
197
198
'mappings' => [
198
199
'dynamic' => false,
199
200
'fields' => ['title' => ['type' => 'string']]
You can’t perform that action at this time.
0 commit comments