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 2007/04/09 23:00:26 UTC

[Solr Wiki] Update of "CollectionDistribution" by BillAu

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

------------------------------------------------------------------------------
  == Solr Distribution Scripts ==
  
     * For the Solr distribution scripts, the name of the index directory is defined either by the environment variable '''data_dir''' in the configuration file '''solr/conf/scripts.conf''' or the command line argument '''-d'''.  It should match the value used by the Solr server which is defined in '''solr/conf/solrconfig.xml'''.
-    * All Solr collection distribution scripts are installed by the RPM '''solr-tools''' and reside in the directory '''solr/bin''' of each instance of Solr. [[BR]] /!\ :TODO: /!\ revise pending final packaging strategy
+    * All Solr collection distribution scripts are bundled within a Solr release and reside in the directory '''solr/bin''' of each instance of Solr. [[BR]] /!\ :TODO: /!\ revise pending final packaging strategy
     * Collection distribution scripts create and prepare for distribution a snapshot of a search collection after each '''commit''' and '''optimize''' request if the ''postCommit'' and ''postOptimize'' event listener is configured in '''solr/conf/solrconfig.xml''' to execute '''snapshooter'''.
     * The '''snapshooter''' script creates a directory ''snapshot.&#60;ts&#62;'', where &#60;ts&#62; is a timestamp in the format, yyyymmddHHMMSS.  It contains hard links to the data files.
     * Snapshots are distributed from the master server when the slaves pull them, "smartcopying" the snapshot directory that contains the hard links to the most recent collection data files.