Instantly share code, notes, and snippets.

@falzm /.json
Last active Oct 4, 2015

Embed
What would you like to do?
Shortest track duration
{
"took" : 8,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"hits" : {
"total" : 8392,
"max_score" : null,
"hits" : [ {
"_index" : "library",
"_type" : "track",
"_id" : "AVAy4e9OSEui9dB0xEmH",
"_score" : null,
"fields" : {
"name" : [ "Glock II" ],
"total_time" : [ 5 ],
"artist" : [ "Enhancer" ],
"album" : [ "Street Trash" ]
},
"sort" : [ 5 ]
} ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment