Skip to content

Commit 9b26858

Browse files
committed
updated readme
1 parent a9a34e0 commit 9b26858

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
composer.phar
44
composer.lock
55
.DS_Store
6-
Thumbs.db
6+
Thumbs.db
7+
.idea

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,20 @@ After that you can search your models with:
128128

129129
`Post::search('Bugs Bunny')->get();`
130130

131+
##Scout status
132+
133+
`php artisan scout:status`
134+
135+
With this simple command you'll get a quick overview of your search indices.
136+
137+
![Image of Scout Status Command](https://tnt.github.com/img/scout_status.png)
138+
139+
Or you can pass a searchable model argument:
140+
141+
`php artisan scout:status "App\Models\Post"`
142+
143+
![Image of Scout Status Command](https://tnt.github.com/img/scout_status_single.png)
144+
131145
## Constraints
132146

133147
Additionally to `where()` statements as conditions, you're able to use Eloquent queries to constrain your search. This allows you to take relationships into account.

0 commit comments

Comments
 (0)