You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Johannes Goll <jo...@gmail.com> on 2010/11/15 22:46:50 UTC

Solr 1.4.1 stats component count not matching facet count for multi valued field

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

Re: Solr 1.4.1 stats component count not matching facet count for multi valued field

Posted by Chris Hostetter <ho...@fucit.org>.
1) i would suggest you use the solr-user mailing list for questions like 
this.

2) stats faceting has known bugs with multivalued *and* non string 
fields..

   https://issues.apache.org/jira/browse/SOLR-1782


-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org