mirror of https://github.com/apache/lucene.git
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:
parent
c607550d84
commit
c8c30c5e6e
|
@ -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>
|
||||||
|
|
|
@ -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">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue