Searchkick :: ImportError — index_not_found_exception

时间:2019-06-26 05:12:46

标签: ruby-on-rails elasticsearch searchkick

我有一个用于重新编制索引的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

0 个答案:

没有答案