Skip to content

Conversation

@thewebartisan7
Copy link
Contributor

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.

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.
The `$model->toSearchableArray()` return empty array so all columns become indexed.
@thewebartisan7 thewebartisan7 changed the title Show indexed columns in scout:status Show indexed columns in scout:status and scout:import Sep 19, 2020
@thewebartisan7 thewebartisan7 changed the title Show indexed columns in scout:status and scout:import Fixed commands scout:status and scout:import Sep 20, 2020
@caredev
Copy link

caredev commented Jan 2, 2021

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

@nticaric nticaric merged commit e1ca158 into teamtnt:master Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants