0
私は大きくてかなり複雑なシードファイルを実行しています。バッチを保存する前に、すべてのタイプの関連レコードの作成を一括して行います。私はこのエラーが表示される問題に遭遇しています:Rails:シードファイルとelasticsearchスローを実行中:複数のインデックス
Elasticsearch::Transport::Transport::Errors::BadRequest: [400]
{"error":{"root_cause":
[{"type":"illegal_argument_exception","reason":"Alias
[clients_development] has more than one indices associated with it
[[clients_development_20170106095823597,
clients_development_20161123102035835]], can't execute a single index
op"}],"type":"illegal_argument_exception","reason":"Alias
[clients_development] has more than one indices associated with it
[[clients_development_20170106095823597,
clients_development_20161123102035835]], can't execute a single index
op"},"status":400}
/Users/
私はdbの問題を抱えていますか?テスト/ devのdb、多分?私はたくさんのレーキコマンドを実行しましたが、これはこの悪い少年の金額です。
rake db:drop && rake db:create && rake db:migrate && rake db:schema:dump && rake db:test:prepare
私はこのやり方で同じエラーが発生します。どのようなことが起こっているのか、誰にでもわかっていますか?
Gracias!それはそれだった。 – romanchukenator