Created
September 11, 2011 15:42
-
-
Save alkema/1209723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index :: ~ » curl -XGET 'http://127.0.0.1:9200/_cluster/health?pretty=true' | |
{ | |
"status" : "yellow", | |
"timed_out" : false, | |
"active_primary_shards" : 12, | |
"active_shards" : 12, | |
"relocating_shards" : 0 | |
}% | |
index :: ~ » curl http://localhost:9200/entries/_search\?q\=\*\&sort\=updated_at:desc\&size\=5\&pretty\=true | |
{ | |
"_shards" : { | |
"total" : 6, | |
"successful" : 6, | |
"failed" : 0 | |
}, | |
"hits" : { | |
"total" : 1221, | |
"hits" : [ { | |
"_index" : "entries", | |
"_type" : "entry", | |
"_id" : "6b7a4ed1-087a-4e0e-a5fe-cb13eebecdc2", "_source" : {"updated_at":"2011-09-11T15:45:37Z","account_id":42,"id":11525430,"content":"it's @<a href=\"http://twitter.com/SuperWalk\" class=\" \" onclick=\"\">SuperWalk</a> day in #<em>YVR</em>. So proud of team Show Me The Smerdons. Over $15k raised this year!"} | |
}, { | |
"_index" : "entries", | |
"_type" : "entry", | |
"_id" : "6eb09220-219f-4265-af0d-31c69f8ecad2", "_source" : {"updated_at":"2011-09-11T15:43:32Z","account_id":42,"id":11525407,"content":"I'm at <em>Vancouver</em> <em>International</em> <em>Airport</em> (<em>YVR</em>) (3211 Grant McConachie Way, Richmond) w/ 10 others <a href=\"http://t.co/z3LXpQ9\" onclick=\"\">http://t.co/z3LXpQ9</a>"} | |
}, { | |
"_index" : "entries", | |
"_type" : "entry", | |
"_id" : "2b381300-97ad-4996-89bb-37332f8e6d44", "_source" : {"updated_at":"2011-09-11T15:39:25Z","account_id":42,"id":11525367,"content":"Saying farewell & bon voyage to Michael (@ <em>YVR</em> Departures) <a href=\"http://t.co/AfYKg7i\" onclick=\"\">http://t.co/AfYKg7i</a>"} | |
}, { | |
"_index" : "entries", | |
"_type" : "entry", | |
"_id" : "63fddec7-f251-433f-bb0c-9017575f7a54", "_source" : {"updated_at":"2011-09-11T15:34:48Z","account_id":42,"id":11525332,"content":"RT @<a href=\"http://twitter.com/TakeItOffCanada\" class=\" \" onclick=\"\">TakeItOffCanada</a> <a href=\"http://search.twitter.com/search?q=%23Win\" class=\" \" title=\"#Win\" onclick=\"\">#Win</a> a $500 <a href=\"http://search.twitter.com/search?q=%23Winners\" class=\" \" title=\"#Winners\" onclick=\"\">#Winners</a> #<em>Shopping</em> Spree - <a href=\"http://search.twitter.com/search?q=%23Montreal\" class=\" \" title=\"#Montreal\" onclick=\"\">#Montreal</a> <a href=\"http://search.twitter.com/search?q=%23vancouver\" class=\" \" title=\"#vancouver\" onclick=\"\">#vancouver</a> | Take It Off Canada: <a href=\"http://t.co/Ysooq89\" onclick=\"\">http://t.co/Ysooq89</a>"} | |
}, { | |
"_index" : "entries", | |
"_type" : "entry", | |
"_id" : "1a2d1af4-fa8f-4576-9369-bd2eef04ea7b", "_source" : {"updated_at":"2011-09-11T15:16:48Z","account_id":42,"id":11525219,"content":"Heading to Seattle;)\n<em>Shopping</em> Time Again!!!"} | |
} ] | |
} | |
}% | |
index :: ~ » curl http://localhost:9200/_mapping | |
No handler found for uri [/_mapping] and method [GET]% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment