Dear Wiki user,

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

The "ClusteringComponent" page has been changed by StanislawOsinski.
http://wiki.apache.org/solr/ClusteringComponent?action=diff&rev1=35&rev2=36

--------------------------------------------------

  See http://project.carrot2.org
  
  === Parameters ===
- 
   * carrot.algorithm - The engine to use as configured in the !SearchComponent.
   * carrot.title - The title field name to use.
-  * carrot.url - The url field name. 
+  * carrot.url - The url field name.
   * carrot.snippet - The snippet field name.
   * carrot.produceSummary - If true, then the snippet field (if no snippet 
field, then the title field) will be highlighted and the highlighted text will 
be used for the snippet.
   * carrot.numDescriptions - The maximum number of labels to produce
   * carrot.outputSubClusters - if true, generate subclusters
   * carrot.fragSize - <!> [[Solr1.5]] <!> The frag size to use when 
produceSummary is true, for highlighting.  If not specified, the default 
highlighting fragsize (hl.fragsize) will be used.  If that isn't specified, 
then 100.
  
+ Additionally, parameters of a specific clustering algorithm, e.g. 
`LingoClusteringAlgorithm.desiredClusterCountBase` can be specified. A complete 
list of clustering algorithm is available in Carrot2 documentation:
+ 
+  * [[http://download.carrot2.org/head/manual/#section.component.lingo|Lingo 
clustering algorithm parameters]]
+  * [[http://download.carrot2.org/head/manual/#section.component.stc|STC 
clustering algorithm parameters]]
+ 
+ You can specify clustering algorithm parameters both in `solrconfig.xml` (see 
below for an example) and at request time, e.g.:
+ 
+ 
http://localhost:8983/solr/clustering?q=*:*&rows=10&LingoClusteringAlgorithm.desiredClusterCountBase=20
+    
+ 
  === Config ===
- 
  The configuration (solrconfig.xml) looks like:
  
  {{{

Reply via email to