Skip to content

Instantly share code, notes, and snippets.

@eriky
Created December 10, 2019 10:07
Show Gist options
  • Save eriky/7678086454dcdbad2ed803dc025d5752 to your computer and use it in GitHub Desktop.
Save eriky/7678086454dcdbad2ed803dc025d5752 to your computer and use it in GitHub Desktop.
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 3,
"relation" : "eq"
},
"max_score" : 0.36419973,
"hits" : [
{
"_index" : "twitter",
"_type" : "_doc",
"_id" : "3Vko724Bb6gkOIFPeQcs",
"_score" : 0.36419973,
"_source" : {
"username" : "eriky",
"post_date" : "2019-12-08T14:10:12",
"message" : "I wrote an article on Elasticsearch"
}
},
{
"_index" : "twitter",
"_type" : "_doc",
"_id" : "4Fko724Bb6gkOIFPeQel",
"_score" : 0.3445722,
"_source" : {
"username" : "kimchy",
"post_date" : "2019-12-08T15:30:22",
"message" : "@eriky I it too (Elasticsearch, not Mars)"
}
},
{
"_index" : "twitter",
"_type" : "_doc",
"_id" : "31ko724Bb6gkOIFPeQeL",
"_score" : 0.31104624,
"_source" : {
"username" : "eriky",
"post_date" : "2019-12-08T15:10:12",
"message" : "@elon Count me in! I love Mars (and Elasticsearch)"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment