You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/09/06 14:19:33 UTC

[Solr Wiki] Update of "SimpleFacetParameters" by ErickErickson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SimpleFacetParameters" page has been changed by ErickErickson:
https://wiki.apache.org/solr/SimpleFacetParameters?action=diff&rev1=66&rev2=67

  This parameter can be specified on a per field basis.
  
  <!> [[Solr1.2]]
+ 
+ === facet.threads ===
+ This param will cause loading the underlying fields used in faceting to be executed in parallel with the number of threads specified. Specify as {{{facet.threads=#}}} where # is the maximum number of threads used. Omitting this parameter or specifying the thread count as 0 will not spawn any threads just as before. Specifying a negative number of threads will spin up to Integer.MAX_VALUE threads.
+ 
+ Currently this is limited to the fields, range and query facets are not yet supported.
+ 
+ In at least one case this has reduced warmup times from 20 seconds to under 5 seconds.
+ 
+ <!> [[Solr4.5]]
  
  == Date Faceting Parameters ==
  <!> [[Solr1.3]] Several params can be used to trigger faceting based on Date ranges computed using simple [[http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/util/DateMathParser.html|DateMathParser]] expressions.