Hi,
I have a facet field called option which may be multi-valued and
a weight field which is single-valued.
When I use the Solr 1.4.1 stats component with a facet field, i.e.
q=*:*&version=2.2&stats=true&stats.field=weight&stats.facet=option
I get conflicting results for the stats count result
<long name="count">1</long>
when compared with the faceting counts obtained by
q=*:*&version=2.2&facet=true&facet.field=option
I would expect the same count for either method.
This happens if multiple values are stored in the options field.
It seem that for a multiple values only the last entered value is being
considered in the stats component? What am I doing wrong here?
Thanks,
Johannes
|