teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.09k stars 142 forks source link

Fixed commands scout:status and scout:import #294

Closed thewebartisan7 closed 3 years ago

thewebartisan7 commented 3 years ago

At the moment the indexed columns return empty array when you run scout:status

With this update it's shown.

It's only missing to exclude primary key if it's not indexed, but there is no way to access variable TNTIndexer::$excludePrimaryKey for check if it's excluded or not.

caredev commented 3 years ago

Please add this fix, otherwise it does not function with the latest scout and laravel 8.x versions