4

HI I have installed elasticsearch version 0.18.7 and configured couchdb according to these instructions. I am trying to create indexing in the following way:

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"
  }
}'

and got the message like,

{
  "ok": true,
  "_index": "_river",
  "_type": "tasks",
  "_id": "_meta",
  "_version": 2
}

when trying to access the url like

curl -GET 'http://10.50.10.86:9200/tasks/tasks?q=*&pretty=true'

then

{
  "error": "IndexMissingException[[tasks] missing]",
  "status": 404
}

Please guide me how to indexing couchdb using elasticsearch.

1 Answer 1

1

I'm not sure where es_test_db2 is coming from. What's the output of this?

curl 10.50.10.86:9200/_river/tasks/_status\?pretty=1
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.