hi, all.

i've begun recruiting solr stats for some nifty little insights for our
users' data. it seems to be running just fine in most cases, but i have
noticed that there is a fringe group of results that seem to have incorrect
data.

for instance, one query returns the following output;

<lst name="stats">
<lst name="stats_fields">
<lst name="unitPrice">
<double name="min">3900.0</double>
<double name="max">4413.0</double>
<long name="count">102</long>
<arr name="distinctValues">
<double>3900.0</double>
<double>3998.0</double>
<double>4098.0</double>
<double>4200.0</double>
<double>4305.0</double>
<double>4413.0</double>
</arr>
<long name="countDistinct">6</long>
<double name="sum">439300.0</double>
<double name="sumOfSquares">1.89426839E9</double>
<double name="mean">4306.862745098039</double>
<double name="stddev">149.70552211193035</double>
<lst name="percentiles">
<double name="25.0">4305.0</double>
<double name="50.0">4413.0</double>
<double name="75.0">4413.0</double>
</lst>
</lst>
</lst>
</lst>

couple things to notice:

   - the 50th and 75%  are the same value as the max
   - the 50th and 75th % are the same number as one another

is there another setting i'm overlooking in the docs, is this a known bug,
or am i simply off the mark in my calculations/expectations?

thanks for any info-

Reply via email to