Date histogram facet: total_count is 0 but mean is 0 instead of null/NaN

we are seeing date histogram facet data such as:

        11 => 
        array (
          'time' => 1379030400000,
          'count' => 1,
          'min' => 'Infinity',
          'max' => '-Infinity',
          'total' => 0,
          'total_count' => 0,
          'mean' => 0,
        ),

...
16 =>
array (
'time' => 1379548800000,
'count' => 2,
'min' => 'Infinity',
'max' => '-Infinity',
'total' => 0,
'total_count' => 0,
'mean' => 0,
),

i assume the distinction between total_count and count is that the latter
is the total number of documents whereas the former are the total number of
documents contributing to total. i therefore also assume that mean = total
/ total_count, which should be undefined however in this case is returning
0 which seems wrong. we're running 0.20.1. is this a known issue? is there
a way to correct it?

thanks,
-w

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.