Re: SolrCloud and configuration files on ZooKeeper

2015-06-09 Thread Erick Erickson
The thing that's confusing is this line: [zk: 127.0.0.1:2181(CONNECTED) 4] ls /configs/test [currency.xml, protwords.txt, managed-schema, solrconfig.xml, synonyms.txt, elevate.xml, stopwords.txt, params.json, lang] it says right there "managed-schema". So my suspicion is that you uploaded this to

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
2015-06-08 22:09 GMT+02:00 Shalin Shekhar Mangar : > Looks like you are using managed-schema (better known as the schemaless > mode). Thank you very much Shalin and Erick! I've never used schemaless before. I am not editing the managed schema, and I uploaded my own custom schema. Thank you very

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Erick Erickson
And when you're _not_ using schemaless (thanks, Shalin, didn't even notice that) you need to specify the -n option. But I second Shalin's comment, you shouldn't be manually editing something a managed schema... Best, Erick On Mon, Jun 8, 2015 at 1:09 PM, Shalin Shekhar Mangar wrote: > Looks lik

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Shalin Shekhar Mangar
Looks like you are using managed-schema (better known as the schemaless mode). In this case, the schema is inferred/managed by Solr by looking at the documents that you add. You can also use the Schema API to change this schema. Editing this schema manually is not recommended. See https://cwiki.apa

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
2015-06-08 21:42 GMT+02:00 Erick Erickson : > See "downconfig" here: > https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities Thank you Erick for your answer! I've already seen that page, and I was trying with the following command: root@index1:/opt/zookeeper/bin# ./zkCli.sh -z

Re: SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread Erick Erickson
See "downconfig" here: https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities I'm guessing you started your cloud with one of the example (i.e. -e cloud). Under the covers, it did an "upconfig" to put the configs up in ZK in the first place, this is the inverse. Best, Erick On M

SolrCloud and configuration files on ZooKeeper

2015-06-08 Thread mattia.martine...@gmail.com
Hi. I setted up a SolrCloud cluster with 3 nodes and configuration files on Zookeeper. I read the document at https://cwiki.apache.org/confluence/display/solr/Using+ZooKeeper+to+Manage+Configuration+Files and saw that configuration files are stored on ZooKeeper of course. But now I have to update m