I am trying to get ElasticSearch to work, especially with the River Plugin. For some reason, I just can't get it to work. I included the procedure that I use to try to do this, found here :
curl -XDELETE 'http://localhost:9200/_all/'
Answer:
{ "ok": true, "acknowledged": true }
This means that I know that I am working with an empty set of elasticsearch instances.
I have an existing database called test, and the river plugin is already installed. Is there anyway to verify that the River plugin is installed and running?
I will output the following command:
curl -XPUT 'http://localhost:9200/_river/my_index/_meta' -d '{ "type" : "couchdb", "couchdb" : { "host" : "localhost", "port" : 5984, "db" : "my_couch_db", "filter" : null } }'
my_couch_db is a real database, I see it in Futon. It has a document.
Answer:
{ "ok": true, "_index": "_river", "_type": "my_index", "_id": "_meta", "_version": 1 }
Now at this stage my understanding will be elastic, so it should work, as I saw in the textbook.
I'm trying to query, just to find something. I'm going to
http:
Answer:
No handler found for uri [/my_couch_db/my_couch_db] and method [GET]
What is strange when I go to
localhost:5984/my_couch_db/__changes
I get
{ "error": "not_found", "reason": "missing" }
Does anyone know how much of this I'm screwing up?