Skip to content

Instantly share code, notes, and snippets.

@falzm
Created October 4, 2015 11:51
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 falzm/72be66843abe03c10971 to your computer and use it in GitHub Desktop.
Save falzm/72be66843abe03c10971 to your computer and use it in GitHub Desktop.
Top 10 longest album durations
{
"took" : 63,
"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" : 7261,
"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
}
} ]
}
}, {
"key" : "Nine Inch Nails",
"doc_count" : 156,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 120,
"buckets" : [ {
"key" : "Ghosts I-IV",
"doc_count" : 36,
"album_duration" : {
"value" : 6609.0
}
} ]
}
}, {
"key" : "Muse",
"doc_count" : 147,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 121,
"buckets" : [ {
"key" : "B-sides",
"doc_count" : 26,
"album_duration" : {
"value" : 5663.0
}
} ]
}
}, {
"key" : "Thrice",
"doc_count" : 143,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 119,
"buckets" : [ {
"key" : "Anthology",
"doc_count" : 24,
"album_duration" : {
"value" : 6187.0
}
} ]
}
}, {
"key" : "Slipknot",
"doc_count" : 113,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 88,
"buckets" : [ {
"key" : "Slipknot",
"doc_count" : 25,
"album_duration" : {
"value" : 4726.0
}
} ]
}
}, {
"key" : "The Used",
"doc_count" : 113,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 93,
"buckets" : [ {
"key" : "Shallow Believer",
"doc_count" : 20,
"album_duration" : {
"value" : 4048.0
}
} ]
}
}, {
"key" : "Disturbed",
"doc_count" : 102,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 85,
"buckets" : [ {
"key" : "The Sickness",
"doc_count" : 17,
"album_duration" : {
"value" : 4159.0
}
} ]
}
}, {
"key" : "Foo Fighters",
"doc_count" : 95,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 75,
"buckets" : [ {
"key" : "In Your Honor",
"doc_count" : 20,
"album_duration" : {
"value" : 4996.0
}
} ]
}
}, {
"key" : "Korn",
"doc_count" : 95,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 79,
"buckets" : [ {
"key" : "Issues",
"doc_count" : 16,
"album_duration" : {
"value" : 3189.0
}
} ]
}
}, {
"key" : "EZ3kiel",
"doc_count" : 94,
"per_album" : {
"doc_count_error_upper_bound" : 0,
"sum_other_doc_count" : 80,
"buckets" : [ {
"key" : "LUX",
"doc_count" : 14,
"album_duration" : {
"value" : 4218.0
}
} ]
}
} ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment