Skip to content

Commit fcb2713

Browse files
committed
Update readme
1 parent 23bb0a9 commit fcb2713

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,20 @@ SCOUT_DRIVER=algolia
4848
SCOUT_QUEUE=true
4949
5050
ALGOLIA_APP_ID=
51-
// Use the Write API Key
52-
ALGOLIA_SECRET=
51+
ALGOLIA_SECRET="Use the Write API Key"
5352
5453
MIX_ALGOLIA_APP_ID="${ALGOLIA_APP_ID}"
55-
// Use the Search API Key
56-
MIX_ALGOLIA_SECRET=
54+
MIX_ALGOLIA_SECRET="Use the Search API Key"
5755
MIX_ALGOLIA_INDEX=threads
5856
```
5957

60-
In order to index your existing threads, run the following command.
58+
In order to index your existing threads, run the following command:
6159

62-
`php artisan scout:import`
60+
`php artisan scout:import App\\Models\\Thread`
6361

64-
New threads will be automatically added to the index and threads which get edited will be automatically updated.
62+
New threads will be automatically added to the index and threads which get edited will be automatically updated. If you need to flush your index and start again, you can run the following command:
6563

66-
If you need to flush your index and start again, you can run the following command:
67-
68-
`php artisan scout:flush`
64+
`php artisan scout:flush App\\Models\\Thread`
6965

7066
## Maintainers
7167

0 commit comments

Comments
 (0)