You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,24 +48,20 @@ SCOUT_DRIVER=algolia
48
48
SCOUT_QUEUE=true
49
49
50
50
ALGOLIA_APP_ID=
51
-
// Use the Write API Key
52
-
ALGOLIA_SECRET=
51
+
ALGOLIA_SECRET="Use the Write API Key"
53
52
54
53
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"
57
55
MIX_ALGOLIA_INDEX=threads
58
56
```
59
57
60
-
In order to index your existing threads, run the following command.
58
+
In order to index your existing threads, run the following command:
61
59
62
-
`php artisan scout:import`
60
+
`php artisan scout:import App\\Models\\Thread`
63
61
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:
65
63
66
-
If you need to flush your index and start again, you can run the following command:
0 commit comments