: Sure. This is what I get. That does look really weird, and definitely seems like a bug.
Can you open an issue in Jira? ... ideally with a TestCase (even if it's not a JUnit test case, just having some sample docs that can be indexed against the example schema and a URL showing the problem would be helpful) : <?xml version="1.0" encoding="UTF-8" ?> : - <response> : - <lst name="responseHeader"> : <int name="status">0</int> : <int name="QTime">62</int> : - <lst name="params"> : <str name="facet">on</str> : <str name="q">*:*</str> : <str name="stats">true</str> : <str name="stats.field">ValueOfOne</str> : <str name="facet.limit">10</str> : <str name="stats.facet">StatsFacetField</str> : <str name="facet.field">StatsFacetField</str> : <str name="rows">0</str> : </lst> : </lst> : <result name="response" numFound="8627" start="0" /> : - <lst name="facet_counts"> : <lst name="facet_queries" /> : - <lst name="facet_fields"> : - <lst name="StatsFacetField"> : <int name="0">1619</int> : <int name="1">7433</int> : <int name="2">7777</int> : <int name="3">3984</int> : <int name="4">233</int> : <int name="5">41</int> : </lst> : </lst> : <lst name="facet_dates" /> : </lst> : - <lst name="stats"> : - <lst name="stats_fields"> : - <lst name="ValueOfOne"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">8627.0</double> : <long name="count">8627</long> : <long name="missing">0</long> : <double name="sumOfSquares">8627.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : - <lst name="facets"> : - <lst name="StatsFacetField"> : - <lst name="3"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">3758.0</double> : <long name="count">3758</long> : <long name="missing">0</long> : <double name="sumOfSquares">3758.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : - <lst name="2"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">3915.0</double> : <long name="count">3915</long> : <long name="missing">0</long> : <double name="sumOfSquares">3915.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : - <lst name="1"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">265.0</double> : <long name="count">265</long> : <long name="missing">0</long> : <double name="sumOfSquares">265.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : - <lst name="0"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">37.0</double> : <long name="count">37</long> : <long name="missing">0</long> : <double name="sumOfSquares">37.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : - <lst name="5"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">41.0</double> : <long name="count">41</long> : <long name="missing">0</long> : <double name="sumOfSquares">41.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : - <lst name="4"> : <double name="min">1.0</double> : <double name="max">1.0</double> : <double name="sum">201.0</double> : <long name="count">201</long> : <long name="missing">0</long> : <double name="sumOfSquares">201.0</double> : <double name="mean">1.0</double> : <double name="stddev">0.0</double> : </lst> : </lst> : </lst> : </lst> : </lst> : </lst> : </response> : -- : View this message in context: http://old.nabble.com/getting-unexpected-statscomponent-values-tp27599248p27631121.html : Sent from the Solr - User mailing list archive at Nabble.com. : -Hoss