Running 1.4.1. I'm able to execute stats queries against multi-valued fields, but when given a facet, the statscomponent only considers documents that have a facet value as the last value in the field.
As an example, imagine you are running stats on "fooCount", and you want to facet on "bar", which is multi-valued. Two documents... 1) fooCount = 100 bar = A, B, C 2) fooCount = 5 bar = C, B, A stats.field=fooCount&stats=true&stats.facet=bar I would expect to see stats for A, B, and C all with sums of 105. But what I'm seeing is stats for C and A with sums of 100 and 5 respectively. Is this expected behavior? Something I'm possibly doing wrong? Is this just not advisable? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/StatsComponent-and-multi-valued-fields-tp1644918p1644918.html Sent from the Solr - User mailing list archive at Nabble.com.