How to make Laravel and Elasticsearch become friends
Ivan Babenko
63125

Hi

When I run php artisan migrate:refresh — seed
or I try to create dummy data with tinker i get following error:

[Elasticsearch\Common\Exceptions\Missing404Exception] 
 {“error”:{“root_cause”:[{“type”:”index_not_found_exception”,”reason”:”no such index”,”resource.type”:”index_or_alias”,”resource.id”:”tutoria 
 l”,”index_uuid”:”_na_”,”index”:”tutorial”}],”type”:”index_not_found_exception”,”reason”:”no such index”,”resource.type”:”index_or_alias”,”re 
 source.id”:”tutorial”,”index_uuid”:”_na_”,”index”:”tutorial”},”status”:404}

Like what you read? Give Manoj Kumar a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.