【问题标题】:indexing couchdb using elastic search使用弹性搜索索引 couchdb
【发布时间】:2012-05-07 06:18:25
【问题描述】:

您好,我已经安装了elasticsearch 0.18.7版本并根据these instructions配置了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。

【问题讨论】:

    标签: couchdb elasticsearch


    【解决方案1】:

    我不确定es_test_db2 的来源。这是什么输出?

    curl 10.50.10.86:9200/_river/tasks/_status\?pretty=1
    

    【讨论】:

      猜你喜欢
      • 2011-12-17
      • 2016-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多