Created
July 21, 2011 14:19
-
-
Save imotov/1097286 to your computer and use it in GitHub Desktop.
Sample Output for http://stackoverflow.com/questions/6764553/how-should-i-query-elastic-search-given-my-mapping-and-using-keywords
This file contains 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
{"ok":true,"acknowledged":true}{"ok":true,"acknowledged":true}{"ok":true,"acknowledged":true}{"ok":true,"_index":"stackoverflow","_type":"location","_id":"1","_version":1} | |
{"ok":true,"_index":"stackoverflow","_type":"location","_id":"2","_version":1} | |
{"ok":true,"_index":"stackoverflow","_type":"location","_id":"3","_version":1} | |
{ | |
"took" : 4, | |
"timed_out" : false, | |
"_shards" : { | |
"total" : 5, | |
"successful" : 5, | |
"failed" : 0 | |
}, | |
"hits" : { | |
"total" : 2, | |
"max_score" : 0.05626005, | |
"hits" : [ { | |
"_index" : "stackoverflow", | |
"_type" : "location", | |
"_id" : "1", | |
"_score" : 0.05626005, | |
"fields" : { | |
"description" : "Suburban city 15 miles (24 km) south-southwest of downtown Minneapolis in Scott County in the U.S. state of Minnesota", | |
"name" : "Savage, Minnesota" | |
} | |
}, { | |
"_index" : "stackoverflow", | |
"_type" : "location", | |
"_id" : "2", | |
"_score" : 0.008439008, | |
"fields" : { | |
"description" : "Norco is also the home of the Norco Animal Rescue Team (NART). NART was founded after the October 2003 wildfires that savaged San Bernardino County and San Diego County.", | |
"name" : "Norco, California" | |
} | |
} ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment