SOLR-5323: Disable ClusteringComponent by default in collection1 example. The solr.clustering.enabled system property needs to be set to 'true' to enable the clustering contrib (reverts SOLR-4708). (Dawid Weiss)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2013-10-11 18:08:44 +00:00
parent 96380e9129
commit 044402065c
3 changed files with 16 additions and 4 deletions

View File

@ -180,7 +180,14 @@ Bug Fixes
* SOLR-5325: ZooKeeper connection loss can cause the Overseer to stop processing
commands. (Christine Poerschke, Mark Miller, Jessica Cheng)
Other Changes
----------------------
* SOLR-5323: Disable ClusteringComponent by default in collection1 example.
The solr.clustering.enabled system property needs to be set to 'true'
to enable the clustering contrib (reverts SOLR-4708). (Dawid Weiss)
================== 4.5.0 ==================
Versions of Major Components

View File

@ -1380,11 +1380,16 @@
<!-- Clustering Component
You'll need to set the solr.clustering.enabled system property
when running solr to run with clustering enabled:
java -Dsolr.clustering.enabled=true -jar start.jar
http://wiki.apache.org/solr/ClusteringComponent
http://carrot2.github.io/solr-integration-strategies/
-->
<searchComponent name="clustering"
enable="${solr.clustering.enabled:true}"
enable="${solr.clustering.enabled:false}"
class="solr.clustering.ClusteringComponent" >
<!-- Declare a named clustering engine. Only one engine can be named
"default" (and it becomes the default one for the search component).
@ -1443,7 +1448,7 @@
-->
<requestHandler name="/clustering"
startup="lazy"
enable="${solr.clustering.enabled:true}"
enable="${solr.clustering.enabled:false}"
class="solr.SearchHandler">
<lst name="defaults">
<bool name="clustering">true</bool>

View File

@ -9,7 +9,7 @@
## Div tag has placeholder text by default
<div id="clusters">
Loading...
Run Solr with java -Dsolr.clustering.enabled=true -jar start.jar to see clustered search results.
</div>
## Replace the div content *if* Carrot^2 is available