back out r1084583 as it breaks ant test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1084627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-03-23 16:23:29 +00:00
parent c607550d84
commit c8c30c5e6e
2 changed files with 8 additions and 0 deletions

View File

@ -1182,8 +1182,14 @@
<!-- Clustering Component <!-- Clustering Component
http://wiki.apache.org/solr/ClusteringComponent 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" <searchComponent name="clustering"
enable="${solr.clustering.enabled:false}"
class="solr.clustering.ClusteringComponent" > class="solr.clustering.ClusteringComponent" >
<!-- Declare an engine --> <!-- Declare an engine -->
<lst name="engine"> <lst name="engine">
@ -1233,6 +1239,7 @@
--> -->
<requestHandler name="/clustering" <requestHandler name="/clustering"
startup="lazy" startup="lazy"
enable="${solr.clustering.enabled:false}"
class="solr.SearchHandler"> class="solr.SearchHandler">
<lst name="defaults"> <lst name="defaults">
<bool name="clustering">true</bool> <bool name="clustering">true</bool>

View File

@ -1,5 +1,6 @@
<h2 #annTitle("Clusters generated by Carrot2 using the /clustering RequestHandler")>Clusters</h2> <h2 #annTitle("Clusters generated by Carrot2 using the /clustering RequestHandler")>Clusters</h2>
<div id="clusters"> <div id="clusters">
Run Solr with java -Dsolr.clustering.enabled=true -jar start.jar to see results
</div> </div>
<script type="text/javascript"> <script type="text/javascript">