diff --git a/.gitignore b/.gitignore index a3da8cd..27b975a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ composer.phar composer.lock .DS_Store -Thumbs.db \ No newline at end of file +Thumbs.db +.idea diff --git a/README.md b/README.md index 711ae0a..3f1e619 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,20 @@ After that you can search your models with: `Post::search('Bugs Bunny')->get();` +##Scout status + +`php artisan scout:status` + +With this simple command you'll get a quick overview of your search indices. + +![Image of Scout Status Command](https://tnt.github.com/img/scout_status.png) + +Or you can pass a searchable model argument: + +`php artisan scout:status "App\Models\Post"` + +![Image of Scout Status Command](https://tnt.github.com/img/scout_status_single.png) + ## Constraints 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.