Instantly share code, notes, and snippets.

@falzm /.json
Created Oct 4, 2015

Embed
What would you like to do?
Longest single album duration
{
"took" : 59,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 8486,
"max_score" : 0.0,
"hits" : [ ]
},
"aggregations" : {
"per_artist" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 8319,
"buckets" : [ {
"key" : "Nobuo Uematsu",
"doc_count" : 166,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 92,
"buckets" : [ {
"key" : "Final Fantasy VIII - Original Soundtrack",
"doc_count" : 74,
"album_duration" : {
"value" : 14932.0
}
} ]
}
} ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment