Skip to content

Instantly share code, notes, and snippets.

@codyaray
Created January 7, 2016 19:42
Show Gist options
  • Save codyaray/99e8fa850590f000da95 to your computer and use it in GitHub Desktop.
Save codyaray/99e8fa850590f000da95 to your computer and use it in GitHub Desktop.
Each field is unique to a type within one index. Investigating sparse doc_values blowing up disk size.
{
"_shards" : {
"total" : 8,
"successful" : 8,
"failed" : 0
},
"indices" : {
"_all" : {
"fields" : {
"message" : {
"max_doc" : 1474181702,
"doc_count" : 284818,
"density" : 0,
"sum_doc_freq" : 10899144,
"sum_total_term_freq" : 13457640,
"min_value" : "0.00",
"max_value" : "xff"
},
"scan_time" : {
"max_doc" : 1474181702,
"doc_count" : 33464239,
"density" : 2,
"sum_doc_freq" : 133856956,
"sum_total_term_freq" : -1,
"min_value" : 0.0,
"max_value" : 1335136.0
},
"host" : {
"max_doc" : 1474181702,
"doc_count" : 1474181702,
"density" : 100,
"sum_doc_freq" : 1474181702,
"sum_total_term_freq" : 1474181702,
"min_value" : "127.0.0.1",
"max_value" : "pvlchi6utbops01"
},
"stg_max/us" : {
"max_doc" : 1474181702,
"doc_count" : 57390658,
"density" : 3,
"sum_doc_freq" : 229562632,
"sum_total_term_freq" : -1,
"min_value" : 0.0,
"max_value" : 4.9769758819E10
},
"line_drop_cnt" : {
"max_doc" : 1474181702,
"doc_count" : 40932034,
"density" : 2,
"sum_doc_freq" : 163728136,
"sum_total_term_freq" : -1,
"min_value" : 0,
"max_value" : 2218
},
"max/us" : {
"max_doc" : 1474181702,
"doc_count" : 1136892063,
"density" : 77,
"sum_doc_freq" : 4547568252,
"sum_total_term_freq" : -1,
"min_value" : -4577.0,
"max_value" : 603828.0
},
"cache-latency" : {
"max_doc" : 1474181702,
"doc_count" : 23291644,
"density" : 1,
"sum_doc_freq" : 93166576,
"sum_total_term_freq" : -1,
"min_value" : 0,
"max_value" : 14751013
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment