0
最近、High Seirraに更新されましたが、何かを意味するかどうかは不明です。アクティブレコードモデルを再インデックスしようとするとこのエラーが発生します。Searchkick Elasticsearchが400エラーを投げる
私が試したこと。 RVM、Ruby、Elasticsearchを再インストールしました。まだ同じエラーが発生しています。
私のチームの他の人たちも同じアップグレードを行いましたが、うまく動作しています。 以下は私が受けているエラーです。
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_default_]: Could not convert [word_start.index] to boolean"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_default_]: Could not convert [word_start.index] to boolean","caused_by":{"type":"illegal_argument_exception","reason":"Could not convert [word_start.index] to boolean","caused_by":{"type":"illegal_argument_exception","reason":"Failed to parse value [analyzed] as only [true] or [false] are allowed."}}},"status":400}
from /Users/rrobin244/.rvm/gems/ruby-2.3.3/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/base.rb:202:in `__raise_transport_error'
にelasticsearchアップグレードする必要がありました。あなたのデータベースは、あなたのチームの他のメンバーのデータベースと異なるインデックスを作成していますか?私は「はい」と推測していますが、おそらく問題は他の誰も持っていないローカルデータがあることです – BigRon