You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/05/24 11:40:31 UTC
[Solr Wiki] Update of "ClusteringComponent" by StanislawOsinski
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by StanislawOsinski:
http://wiki.apache.org/solr/ClusteringComponent
The comment on the change is:
Configuration example in the introduction section updated
------------------------------------------------------------------------------
The !ClusteringComponent gets added just like any other !SearchComponent. Just declare it in the solrconfig.xml, as in:
{{{
<searchComponent class="org.apache.solr.handler.clustering.ClusteringComponent" name="clustering">
- <!-- Declare an engine -->
- <lst name="engine">
+ <lst name="engine">
- <!-- The name, only one can be named "default" -->
- <str name="name">default</str>
+ <str name="name">default</str>
+ <str name="carrot.algorithm">org.carrot2.clustering.lingo.LingoClusteringAlgorithm</str>
- <!-- Carrot2 specific parameters. See the Carrot2 site for details on setting. -->
- <float name="carrot.threshold.clusterAssignment">0.150</float>
- <float name="carrot.threshold.candidateClusterThreshold">0.775</float>
- </lst>
+ </lst>
- </searchComponent>
+ </searchcomponent>
}}}
= Search Results Clustering =