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).
186186 To customize the index definition, add the ``index-definitions``
187187 configuration to the ``mongodb`` entry in your
188188 ``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:
190191
191192 .. code-block:: php
192193
193194 'mongodb' => [
194195 'connection' => env('SCOUT_MONGODB_CONNECTION', 'mongodb'),
195196 'index-definitions' => [
196- 'scout_index ' => [
197+ 'scout_movies ' => [
197198 'mappings' => [
198199 'dynamic' => false,
199200 'fields' => ['title' => ['type' => 'string']]
You can’t perform that action at this time.
0 commit comments