No handler found for uri


(bryan rasmussen) #1

I did the following:
curl -XPUT http://
localhost:9200/_river/commando/_meta -d @elasticsearch.json

where elasticsearch.json is
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"_index":"_river","_type":"commando","_id":"_meta","_version":
1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO ][cluster.metadata ] [Natchios,
Elektra]
[_river] update_mapping [commando] (dynamic)
[2012-02-02 03:53:39,332][INFO ][river.couchdb ] [Natchios,
Elektra]
[couchdb][commando] starting couchdb stream: host [localhost], port
[5984], filt
er [null], db [content], indexing to [content]/[content]
[2012-02-02 03:53:39,354][INFO ][cluster.metadata ] [Natchios,
Elektra]

When I GET
http://localhost:9200/content/content

I get back the message
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,
nearly unthinkable even with the message above.

Thanks,
Bryan Rasmussen


(medcl.net) #2

to retrieve a doc,you must follow this format:
http://localhost:9200/{index}/{type}/{id}

-----Original Message-----
From: bryan
Sent: Thursday, February 02, 2012 11:08 AM
To: elasticsearch
Subject: No handler found for uri

I did the following:
curl -XPUT http://
localhost:9200/_river/commando/_meta -d @elasticsearch.json

where elasticsearch.json is
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"_index":"_river","_type":"commando","_id":"_meta","_version":
1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO ][cluster.metadata ] [Natchios,
Elektra]
[_river] update_mapping [commando] (dynamic)
[2012-02-02 03:53:39,332][INFO ][river.couchdb ] [Natchios,
Elektra]
[couchdb][commando] starting couchdb stream: host [localhost], port
[5984], filt
er [null], db [content], indexing to [content]/[content]
[2012-02-02 03:53:39,354][INFO ][cluster.metadata ] [Natchios,
Elektra]

When I GET
http://localhost:9200/content/content

I get back the message
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,
nearly unthinkable even with the message above.

Thanks,
Bryan Rasmussen


(bryan rasmussen) #3

ok thanks.

Bryan Rasmussen

On Feb 2, 4:22 am, medcl2...@gmail.com wrote:

to retrieve a doc,you must follow this format:http://localhost:9200/{index}/{type}/{id}

-----Original Message-----
From: bryan
Sent: Thursday, February 02, 2012 11:08 AM
To: elasticsearch
Subject: No handler found for uri

I did the following:
curl -XPUT http://
localhost:9200/_river/commando/_meta -d @elasticsearch.json

where elasticsearch.json is
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"_index":"_river","_type":"commando","_id":"_meta","_version":
1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO ][cluster.metadata ] [Natchios,
Elektra]
[_river] update_mapping [commando] (dynamic)
[2012-02-02 03:53:39,332][INFO ][river.couchdb ] [Natchios,
Elektra]
[couchdb][commando] starting couchdb stream: host [localhost], port
[5984], filt
er [null], db [content], indexing to [content]/[content]
[2012-02-02 03:53:39,354][INFO ][cluster.metadata ] [Natchios,
Elektra]

When I GEThttp://localhost:9200/content/content

I get back the message
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,
nearly unthinkable even with the message above.

Thanks,
Bryan Rasmussen


(Sanuj S.S) #4

Hi Bryan,

Could you please give an example ?
See below my index details

{
"_index" : "myindex",
"_type" : "snapshot",
"_id" : "myindex_backup",
"_version" : 1,
"exists" : true, "_source" : {
"type": "fs",
"settings": {
"location": "/home/Downloads/backupdir",
"compress": true
}
}
}

On Thursday, February 2, 2012 9:14:45 AM UTC+5:30, bryan wrote:

ok thanks.

Bryan Rasmussen

On Feb 2, 4:22 am, medcl2...@gmail.com wrote:

to retrieve a doc,you must follow this format:
http://localhost:9200/{index}/{type}/{id}

-----Original Message-----
From: bryan
Sent: Thursday, February 02, 2012 11:08 AM
To: elasticsearch
Subject: No handler found for uri

I did the following:
curl -XPUT http://
localhost:9200/_river/commando/_meta -d @elasticsearch.json

where elasticsearch.json is
{"type" : "couchdb","couchdb" : {"host" : "localhost","port" :
5984,"db" : "content","filter" : null}}

and got

{"ok":true,"_index":"_river","_type":"commando","_id":"_meta","_version":

1}

looking at elasticsearch in my console:

[2012-02-02 03:53:39,181][INFO ][cluster.metadata ] [Natchios,
Elektra]
[_river] update_mapping [commando] (dynamic)
[2012-02-02 03:53:39,332][INFO ][river.couchdb ] [Natchios,
Elektra]
[couchdb][commando] starting couchdb stream: host [localhost], port
[5984], filt
er [null], db [content], indexing to [content]/[content]
[2012-02-02 03:53:39,354][INFO ][cluster.metadata ] [Natchios,
Elektra]

When I GEThttp://localhost:9200/content/content

I get back the message
No handler found for uri [/content/content] and method [GET]

What did I do wrong? should I not GET? That seems extremely unlikely,
nearly unthinkable even with the message above.

Thanks,
Bryan Rasmussen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/571b5f63-d63b-45ef-9551-9d191b071b96%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #5