Skip to content

Instantly share code, notes, and snippets.

Created September 29, 2011 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/25424e1214b74d842707 to your computer and use it in GitHub Desktop.
Save anonymous/25424e1214b74d842707 to your computer and use it in GitHub Desktop.
root@intr6n1:~# curl -XGET http://127.0.0.1:9200/search/_status?pretty=true
{
"error" : "NullPointerException[null]",
"status" : 500
}
root@intr6n1:~# curl -XPOST http://127.0.0.1:9200/search/_close?pretty=true
{
"ok" : true,
"acknowledged" : true
}
root@intr6n1:~# curl -GET http://127.0.0.1:9200/search/_status?pretty=truee
{
"ok" : true,
"_shards" : {
"total" : 0,
"successful" : 0,
"failed" : 0
},
"indices" : {
}
}
root@intr6n1:~# curl -POST http://127.0.0.1:9200/search/_open?pretty=true
{
"ok" : true,
"acknowledged" : true
}
root@intr6n1:~# curl -GET http://127.0.0.1:9200/search/_status?pretty=true
{
"ok" : true,
"_shards" : {
"total" : 2,
"successful" : 2,
"failed" : 0
},
"indices" : {
(...)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment