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/20 14:18:30 UTC

[Solr Wiki] Update of "ClusteringComponent" by GrantIngersoll

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 GrantIngersoll:
http://wiki.apache.org/solr/ClusteringComponent

------------------------------------------------------------------------------
  <!> ["Solr1.4"] -  This Wiki page represents uncommitted code.  See https://issues.apache.org/jira/browse/SOLR-769
  
+ NOTE: This code is marked as experimental and is the APIs and responses are subject to change in future releases.
+ 
  = Introduction =
  
  This component can cluster both search results and documents.  In case you're wondering what clustering is good for, think of it as a quick way to summarize a whole bunch of results/documents, or as a way to group together like results/documents.
@@ -18, +20 @@

  The !ClusteringComponent is responsible for taking in the request, identify the clustering engine to be used (a !SolrClusteringEngine implementation) and then delegating the work to that engine.  Once the engine is done, the results are then added to the response.
  
  The !ClusteringComponent currently does support distributed processing.
+ 
+ == Installation ==
+ 
+ The !ClusteringComponent is in the contrib area of Solr.  Due to some dependencies on LGPL libraries for the Carrot2 implementation, we cannot package a complete binary solution (with all the dependencies).  To get the Carrot2 solution, you will need to download these libraries.  To do this, on the command line in the contrib/clustering directory, run {{{ant get-libraries}}}.  This will create a downloads directory under the lib directory.  From there, you just need to grab the Solr clustering JAR and all the libraries and it should work.  To see an example of it working, try running {{{ant example}}} and then switching over to $SOLR_HOME/example/clustering and follow the directions below.
  
  == Configuration ==