我有一个用于重新编制索引的API方法,每天都会调用一次。有时,通过Searchkick异常index_not_found_exception
重新编制索引,重新编制过程在中间停止。
几天后登录。
在住宿#reindex中发生Searchkick :: ImportError
{
"type"=>"index_not_found_exception",
"reason"=>"no such index",
"index_uuid"=>"_na_",
"index"=>"lodgings_production_20190626001429368"
} on item with id '206'
相同错误,但商品ID不同
{
"type"=>"index_not_found_exception",
"reason"=>"no such index",
"index_uuid"=>"_na_",
"index"=>"lodgings_production_20190615004229543"
} on item with id '1233'
elasticsearch:6.0.3, searchkick:3.1.0