Skip to content

Instantly share code, notes, and snippets.

@metacpan-user
Last active November 18, 2016 00:11
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 metacpan-user/5521729 to your computer and use it in GitHub Desktop.
Save metacpan-user/5521729 to your computer and use it in GitHub Desktop.
Size of the CPAN
{
"aggs": {
"size": {
"sum": {
"field": "stat.size"
} } },
"size":0
}
{
"timed_out" : false,
"hits" : {
"hits" : [],
"max_score" : 1,
"total" : 12352603
},
"_shards" : {
"failed" : 0,
"successful" : 5,
"total" : 5
},
"took" : 263,
"facets" : {
"size" : {
"count" : 12352603,
"variance" : 66837978667.5112,
"std_deviation" : 258530.421164534,
"min" : 0,
"max" : 258383859,
"_type" : "statistical",
"mean" : 8478.16215513443,
"total" : 104727371272,
"sum_of_squares" : 8.2651091143796e+17
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment