Skip to content

Commit 3272ddb

Browse files
authored
Changed config file scout.php which search engine index is used as the model index name by default. (#2934)
* Update the default config file for scout. * Update CHANGELOG-2.0.md
1 parent bfd91ef commit 3272ddb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish/scout.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
'engine' => [
2222
'elasticsearch' => [
2323
'driver' => Hyperf\Scout\Provider\ElasticsearchProvider::class,
24-
'index' => env('ELASTICSEARCH_INDEX', 'hyperf'),
24+
'index' => null,
2525
'hosts' => [
26-
env('ELASTICSEARCH_HOST', 'http://localhost'),
26+
env('ELASTICSEARCH_HOST', 'http://127.0.0.1:9200'),
2727
],
2828
],
2929
],

0 commit comments

Comments
 (0)