Open antoniogoncalves92 opened 4 years ago
Something simillar happens to me:
protected $models = [
Club::class,
SiteUser::class,
];
When I run reimport it will only run the import/reimport for $models[0];
The same happens to me:
protected $models = [
Article::class,
Page::class,
];
Only Page entries are imported on index.
And when i try to execute: php artisan scout:import "App\Models\Articles" The Page entries are flushed and only Article entries are present in the index.
Any news about this issue?
EDIT: i've just tried php artisan scout:reimport "App\Search\SearchableElement"
and with this command, all works fine.
Hi, i am currently using your services to implement an instant search to improve system search. And everything looks great till now. But currently i m getting an issues with a model import data, since am using aggregator to use multiples models in one indice.
The issues is like so:
When i add some models, lets say, Contrato, Pagamento and User to the models array property of the Aggregator class it works fine.
When i add Projecto model to the models array property of the Aggregator class it only send the Projecto fields to the searchableAttributes of the aggregator indice.
OBS: i am using laravel + scout extended.
Hope you guys can help me with this issue.