Hi,
I posted here but seeing as they don't even have a tag for river-
plugin, it's probably more effective on here.
I'm trying to get ElasticSearch to work, specifically with the River
Plugin. For some reason I just can't get it to work. I've included the
procedure I'm using to try and do it, found here:
http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html
curl -XDELETE 'http://localhost:9200/_all/'
Response:
{"ok":true,"acknowledged":true}
This is so I know I'm working with an empty set of elasticsearch
instances.
I have an existing database, called test and the river plugin has
already been installed. Is there anyway to test to confirm the River
Plugin is installed and running?
I issue 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. There is a document
in it.
Response:
{"ok":true,"_index":"_river","_type":"my_index","_id":"_meta","_version":
1}
Now at this point, my understanding is elasticseach should be working
as I saw in the tutorial.
I try to query, just to find anything. I go to
http://localhost:9200/my_couch_db/my_couch_db.
Response:
No handler found for uri [/my_couch_db/my_couch_db] and method [GET]
What's weird is when I go to localhost:5984/my_couch_db/__changes
I get {"error":"not_found","reason":"missing"}
Anyone have any idea what part of this I'm screwing up?
Thanks,
--Scott