こんにちは私はelasticsearchバージョン0.18.7をインストールし、これらの指示に従ってcouchdbを構成しました。次の方法でインデックスを作成しようとしています。
curl -XPUT '10.50.10.86:9200/_river/tasks/_meta' -d '{
"type": "couchdb",
"couchdb": {
"host": "10.50.10.86",
"port": 5984,
"db": "tasks",
"filter": null
},
"index": {
"index": "tasks",
"type": "tasks",
"bulk_size": "100",
"bulk_timeout": "10ms"
}
}'
そして、次のようなメッセージを受け取りました。
{
"ok": true,
"_index": "_river",
"_type": "tasks",
"_id": "_meta",
"_version": 2
}
のようなURLにアクセスしようとすると
curl -GET 'http://10.50.10.86:9200/tasks/tasks?q=*&pretty=true'
それから
{
"error": "IndexMissingException[[tasks] missing]",
"status": 404
}
Elasticsearchを使用してcouchdbにインデックスを付ける方法を教えてください。