Laravel Scout:import not importing data to ElaasticSearch

26 Views Asked by At

When i run the following command on my VM, it shows that records are imported but actually data were not imported

php artisan scout:import 'App\Models\File'

Solutions i have tried.

  • scout queue is set to false
  • Configuration is seems ok

I have noticed one more thing that when i write query on tinker to search, then its returning correct result using scout. But only import / searchable() function is not working.

Note: I have the same branch on another serve and it works fine there. But not sure why its not working on my VM.

Let me know if any additional detail required. Any suggestion would be helpful thanks.

0

There are 0 best solutions below