Torann / laravel-cloudsearch

Index and search Laravel models on Amazon's CloudSearch
BSD 2-Clause "Simplified" License
22 stars 10 forks source link

command search:import is not defined #3

Closed dingman closed 5 years ago

dingman commented 7 years ago

I ran through all of the steps, but stuck on adding my Model.

[tracker@vps project]$ php artisan search:import Product

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "search:import" is not defined.
  Did you mean one of these?
      scout:import
      search:fields
      search:flush
      search:index
      search:queue
      tntsearch:import

[tracker@vps project]$ php artisan search:import App\Product

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "search:import" is not defined.
  Did you mean one of these?
      scout:import
      search:fields
      search:flush
      search:index
      search:queue
      tntsearch:import

Any help is greatly appreciated.

mizansyed commented 6 years ago

Hi Daniel,

I am having the same issue as @dingman and I looked into the source code and there is no definition of this command.

Torann commented 6 years ago

Sorry about that, that was from the first version of the package. The command is search:index <model>. I just updated the readme.