Here is my query String:
/solr/singleproductindex/productQuery?fq=siteid:82&q=categories_82_is:109124&facet=true&facet.query=HeatingArea_numeric:[0%20TO%20*]&facet.field=HeatingArea_numeric&debugQuery=true

Here is my schema for that field: 
<dynamicField name="*_numeric" type="tfloat"    indexed="true" 
stored="false"  multiValued="true"/>

Here is my request handler definition:
<requestHandler name="/productQuery" class="solr.SearchHandler">
            <lst name="defaults">
              <str name="df">text</str>
              <str name="defType">edismax</str>
                  <float name="tie">0.01</float>
                  <str name="qf">
                    sku^9.0 upc^9.1 keywords_82_txtws^1.9 series^2.8 
productTitle^1.2
productid^9.0 manufacturer^4.0 masterFinish^1.5 theme^1.1
categoryNames_82_txt^0.2 finish^1.4 uniqueFinish^1
                  </str>
                  <str name="pf">
                    keywords_82_txtws^2.1 productTitle^1.5 manufacturer^4.0 
finish^1.9
                  </str>
                  <str name="bf">
                    linear(popularity_82_i,1,2)^3.0
                  </str>
                  <str name="fl">
                    
uniqueid,productCompositeid,productid,manufacturer,uniqueFinish,finish
                  </str>
                  <str name="mm">
                    3&lt;-1 5&lt;-2 6&lt;90%
                  </str> 
                  <bool name="group">true</bool>
                  <str name="group.field">groupid</str>
                  <bool name="group.ngroups">true</bool>
          <bool name="group.facet">true</bool>
                  <int name="ps">1000000</int>
                  <int name="qs">3</int>
                  <str name="spellcheck.count">10</str>
                  <str name="spellcheck.alternativeTermCount">5</str>
                  <str name="spellcheck.maxResultsForSuggest">5</str>       
                  <str name="spellcheck.collate">true</str>
                  <str name="spellcheck.collateExtendedResults">true</str>  
                  <str name="spellcheck.maxCollationTries">10</str>
                  <str name="spellcheck.maxCollations">5</str>
                </lst>
            <arr name="last-components">
              <str>spellcheck</str>
            </arr>
          </requestHandler>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-facet-field-counts-not-correct-tp4097305p4097306.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to