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 yo...@apache.org on 2010/02/01 21:35:08 UTC
svn commit: r905404 - in /lucene/solr/branches/cloud: example/solr/solr.xml
src/webapp/web/admin/index.jsp
Author: yonik
Date: Mon Feb 1 20:35:07 2010
New Revision: 905404
URL: http://svn.apache.org/viewvc?rev=905404&view=rev
Log:
add zk link to admin, add shardId to solr.xml
Modified:
lucene/solr/branches/cloud/example/solr/solr.xml
lucene/solr/branches/cloud/src/webapp/web/admin/index.jsp
Modified: lucene/solr/branches/cloud/example/solr/solr.xml
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/example/solr/solr.xml?rev=905404&r1=905403&r2=905404&view=diff
==============================================================================
--- lucene/solr/branches/cloud/example/solr/solr.xml (original)
+++ lucene/solr/branches/cloud/example/solr/solr.xml Mon Feb 1 20:35:07 2010
@@ -29,6 +29,14 @@
If 'null' (or absent), cores will not be manageable via request handler
-->
<cores adminPath="/admin/cores" defaultCoreName="collection1">
- <core name="collection1" instanceDir="." />
+ <core name="collection1" instanceDir="." shardId="shard1"/>
+ <!--
+ SolrCloud related attributes on core:
+ collection - The name of the collection this core belongs to.
+ Defaults to the name of the core.
+ shardId - which shard of the collection this core has. Defaults
+ to a name derived from host:port_webapp_corename.
+ role - TBD
+ -->
</cores>
</solr>
Modified: lucene/solr/branches/cloud/src/webapp/web/admin/index.jsp
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/webapp/web/admin/index.jsp?rev=905404&r1=905403&r2=905404&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/webapp/web/admin/index.jsp (original)
+++ lucene/solr/branches/cloud/src/webapp/web/admin/index.jsp Mon Feb 1 20:35:07 2010
@@ -50,6 +50,7 @@
[<a href="stats.jsp">Statistics</a>]
[<a href="registry.jsp">Info</a>]
[<a href="distributiondump.jsp">Distribution</a>]
+ [<a href="zookeeper.jsp">ZooKeeper</a>]
[<a href="ping">Ping</a>]
[<a href="logging">Logging</a>]
</td>