だから基本的に新しいことに挑戦しています。今回は弾性検索を使用します。私はすでにエラスティックとキバナ、そしてもちろんセンスプラグインをインストールしています。インデックスの作成、マッピング、ドキュメントの追加などの基本的なコマンドをすべて試します。一括挿入を試みるまではすべてうまくいきます。
POST /ecommerce/product/_bulk
{"index":{"_id":"1002"}}
{"name":"SWA magazine", "price":"90.000", "description":"swa magazine description",
"status":"active", "quantity":3, "categories":[{"name":"magazine"}],
"tags":["business", "magazine", "sales", "news"]}
{"index":{"_id":"1003"}}
{"name":"SWA magazine", "price":"90.000", "description":"swa magazine description",
"status":"active", "quantity":3, "categories":[{"name":"magazine"}],
"tags":["business", "magazine", "sales", "news"]}
私は自分のコードの何が問題なのかさえ知りません。私はいつもこのエラーを受け取りました:
これを修正するのを手伝ってください。よろしくお願いします。