Index_not_found_error

Hi,
I've integrated with laravel5.7 and elasticsearch 6.6 on win10.
And when I call apis on backend it says as following :
""data": {
"message": "Unhandled exception error.",
"error": "{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"business_write","index_uuid":"na","index":"business_write"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"business_write","index_uuid":"na","index":"business_write"},"status":404}"
}"

I tried to find solution but failed.

When I did "curl localhost:9200" it works as following
{
"name" : "DESKTOP-R7K0K0O",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "eZBh_4z9Tpehql9LOttc7g",
"version" : {
"number" : "6.6.0",
"build_flavor" : "unknown",
"build_type" : "unknown",
"build_hash" : "a9861f4",
"build_date" : "2019-01-24T11:27:09.439740Z",
"build_snapshot" : false,
"lucene_version" : "7.6.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

What is wrong?
Please help me

The index or the alias business_write does not exist.

Why?

Well. I have no idea on how laravel is supposed to work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.