如何整合laravel和elasticsearch?

时间:2019-02-10 21:39:30

标签: laravel elasticsearch

我已经集成了laravel5.6和elasticsearch 6.6,并在win10上使用了php7.2。 当我在后端调用api时,它表示如下:

"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}"
}

0 个答案:

没有答案