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 Apache Wiki <wi...@apache.org> on 2009/12/01 11:07:46 UTC
[Solr Wiki] Update of "ZooKeeperIntegration" by NoblePaul
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "ZooKeeperIntegration" page has been changed by NoblePaul.
http://wiki.apache.org/solr/ZooKeeperIntegration?action=diff&rev1=5&rev2=6
--------------------------------------------------
* https://issues.apache.org/jira/browse/SOLR-1585
= ZooKeeper Component =
- There will be a !ZooKeeperComponent in !SolrCore configured through the solrconfig.xml. The !ZookeeperComponent may expose the !ZooKeeper client instance which could be used by any plugin for purposes such as adding/removing key/values or performing master election etc
+ There will be a !ZooKeeperComponent to be configured through solrconfig.xml. The !ZookeeperComponent may expose the !ZooKeeper client instance which could be used by any plugin for purposes such as adding/removing key/values or performing master election etc
== Configuration ==
@@ -25, +25 @@
<!-- See the ZooKeeper docs -->
<str name="zkhostPorts">localhost:2181</str>
<!-- TODO: figure out how to do this programmatically -->
- <str name="me">localhost:8983/solr/core1</str>
+ <str name="me">http://host:port/solr/core1</str>
<!-- Timeout for the ZooKeeper. Optional. Default 10000 -->
<!-- Timeout in ms -->
<str name="timeout">5000</str>
<!- this is the directory in which this zk node will be added. The name of the node is a sequential number automatically assigned by zookeeper. The value is a Namedlist which may contain as many values as other components wish to add. This component only adds the key-> value me=localhost:8983/solr/core1. For instance , the Shardhandler may add a key value shard=shard1. ReplicationHandler may add something like version=124544 etc. -->
- <str name="nodesDir">/myApp/solr</str>
+ <str name="nodesDir">/domain/solr/nodes</str>
</zookeeper>
}}}
+ After the nodes are started it may look as follows
= ZooKeeper Aware Distributed Search =