Skip to content

Commit

Permalink
修改配置文件中存放索引的路径
Browse files Browse the repository at this point in the history
  • Loading branch information
vanry committed Apr 26, 2018
1 parent b5b70c5 commit e77b715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ php artisan vendor:publish --provider="Laravel\Scout\ScoutServiceProvider"
```php

'tntsearch' => [
'storage' => storage_path(), //必须有可写权限
'storage' => storage_path('indexes'), //必须有可写权限
'fuzziness' => env('TNTSEARCH_FUZZINESS', false),
'searchBoolean' => env('TNTSEARCH_BOOLEAN', false),
'asYouType' => false,
Expand Down
2 changes: 1 addition & 1 deletion config/scout.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [

'tntsearch' => [
'storage' => storage_path('index'), //必须有可写权限
'storage' => storage_path('indexes'), //必须有可写权限
'fuzziness' => env('TNTSEARCH_FUZZINESS', false),
'searchBoolean' => env('TNTSEARCH_BOOLEAN', false),
'asYouType' => false,
Expand Down

0 comments on commit e77b715

Please sign in to comment.