You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/03/23 17:23:29 UTC

svn commit: r1084627 - in /lucene/dev/trunk/solr/example/solr/conf: solrconfig.xml velocity/cluster.vm

Author: rmuir
Date: Wed Mar 23 16:23:29 2011
New Revision: 1084627

URL: http://svn.apache.org/viewvc?rev=1084627&view=rev
Log:
back out r1084583 as it breaks ant test

Modified:
    lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml
    lucene/dev/trunk/solr/example/solr/conf/velocity/cluster.vm

Modified: lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml?rev=1084627&r1=1084626&r2=1084627&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml (original)
+++ lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml Wed Mar 23 16:23:29 2011
@@ -1182,8 +1182,14 @@
   <!-- Clustering Component
 
        http://wiki.apache.org/solr/ClusteringComponent
+
+       You'll need to set the solr.cluster.enabled system property 
+       when running solr to run with clustering enabled:
+
+       java -Dsolr.clustering.enabled=true -jar start.jar
     -->
   <searchComponent name="clustering" 
+                   enable="${solr.clustering.enabled:false}"
                    class="solr.clustering.ClusteringComponent" >
     <!-- Declare an engine -->
     <lst name="engine">
@@ -1233,6 +1239,7 @@
     -->
   <requestHandler name="/clustering"
                   startup="lazy"
+                  enable="${solr.clustering.enabled:false}"
                   class="solr.SearchHandler">
     <lst name="defaults">
       <bool name="clustering">true</bool>

Modified: lucene/dev/trunk/solr/example/solr/conf/velocity/cluster.vm
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/velocity/cluster.vm?rev=1084627&r1=1084626&r2=1084627&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/conf/velocity/cluster.vm (original)
+++ lucene/dev/trunk/solr/example/solr/conf/velocity/cluster.vm Wed Mar 23 16:23:29 2011
@@ -1,5 +1,6 @@
 <h2 #annTitle("Clusters generated by Carrot2 using the /clustering RequestHandler")>Clusters</h2>
 <div id="clusters">
+  Run Solr with java -Dsolr.clustering.enabled=true -jar start.jar to see results
 </div>
 <script type="text/javascript">