Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Chris Rogers
Thanks Erick, Shawn, that was exactly it! On 22/02/2017, 16:29, "Erick Erickson" wrote: This should do it: bin/solr zk upconfig -z 172.28.128.9:2181/solr -n tolkien -d /home/bodl-tei-svc/solr-6.4.0/server/solr/configsets/tolkien_config Or use the 'bin/solr cp -r...' c

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Erick Erickson
This should do it: bin/solr zk upconfig -z 172.28.128.9:2181/solr -n tolkien -d /home/bodl-tei-svc/solr-6.4.0/server/solr/configsets/tolkien_config Or use the 'bin/solr cp -r...' command and specify the destination as zk:/solr/tolkien or something. upconfig/downconfig is just a form of cp design

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Chris Rogers
Hi Shawn, Thanks. I am indeed using a chroot. In my solr.in.ih file I have the following: ZK_HOST="172.28.128.9/solr" I think I understand you’re saying that I need to specify this chroot dir in the upconfig command? Where should this be specified? Something like: bin/solr zk upconfig -z 172.

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Erick Erickson
Shawn's nailed it. I wanted to add that in 6.4 there are additional commands in bin/solr to explore ZK, e.g. "ls" which also has a recurse option. Erick On Wed, Feb 22, 2017 at 8:15 AM, Shawn Heisey wrote: > On 2/22/2017 8:25 AM, Chris Rogers wrote: >> … as uploaded with upconfig. However, in th

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Shawn Heisey
On 2/22/2017 8:25 AM, Chris Rogers wrote: > … as uploaded with upconfig. However, in the /solr directory we have a > second /configs folder with the old schema.xml within it. I presume > this is the collection config being used, as it is named simply > ‘tolkien’ as defined in the create collection

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Chris Rogers
Hi Erick, Thanks for your reply. 1> Looking in the Solr UI I have only a single set of config files. 2> No, browser is not caching the page. Tried in anonymous browser and result is the same. 3> No, I don’t have a managed Schema file or managed schema factory definition. I am using Further in

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Erick Erickson
Chris: I'd check a couple of things: 1> did the files get copied where you expect? Do you have only one set of files in the zknode configs node (admin UI>>cloud>>tree>>expand the appropriate branches). This seems unlikely if you did the downconfig, but stranger things have happened. 2> Is there

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Chris Rogers
Hi Gus, Thanks for the reply, but unfortunately this is not the problem. I am using the basic schema factory, with a directly edited schema file. Best, Chris On 22/02/2017, 12:00, "Gus Heck" wrote: Hi Chris, Are you perhaps using (by default) ManagedIndexSchemaFactory? https

Re: Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Gus Heck
Hi Chris, Are you perhaps using (by default) ManagedIndexSchemaFactory? https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig If so on first boot the schema.xml file is copied and then subsequently ignored in favor of the managed copy. If you do not wish to use

Problem managing Solr configsets on Zookeeper

2017-02-22 Thread Chris Rogers
Hi all, I’ve got a Zookeeper (3.4.8) / Solrcloud (6.4.0) setup with two nodes. I’ve successfully uploaded a collection through one of the Solr nodes: ~~~ bin/solr create -c tolkien -d tolkien_config -s 2 -rf 2 ~~~ I’ve then changed the schema.xml in the config set for this collection (in the