How to Learn Linked Configuration for SolrCloud at Zookeeper

2014-02-11 Thread Furkan KAMACI
Hi; I've written a code that I can update a file to Zookeeper for SlorCloud. Currently I have many configurations at Zookeeper for SolrCloud. I want to update synonyms.txt file so I should know the currently linked configuration (I will update the synonyms.txt file under appropriate configuration

Re: How to Learn Linked Configuration for SolrCloud at Zookeeper

2014-02-11 Thread Alan Woodward
For a particular collection or core? There should be a collection.configName property specified for the core or collection which tells you which ZK config directory is being used. Alan Woodward www.flax.co.uk On 11 Feb 2014, at 11:49, Furkan KAMACI wrote: Hi; I've written a code that I

Re: How to Learn Linked Configuration for SolrCloud at Zookeeper

2014-02-11 Thread Furkan KAMACI
I am looking it for a particular collection. 2014-02-11 13:55 GMT+02:00 Alan Woodward a...@flax.co.uk: For a particular collection or core? There should be a collection.configName property specified for the core or collection which tells you which ZK config directory is being used. Alan

Re: How to Learn Linked Configuration for SolrCloud at Zookeeper

2014-02-11 Thread Furkan KAMACI
Hi; OK, I've checked the source code and implemented that: public String readConfigName(SolrZkClient zkClient, String collection) throws KeeperException, InterruptedException { String configName = null; String path = ZkStateReader.COLLECTIONS_ZKNODE + / + collection;