Re: Using the collections API to create a new collection

2015-03-15 Thread Mike Thomsen
Thanks. I think I found the final problem that I was facing in this ticket: https://issues.apache.org/jira/browse/SOLR-5306 On Sun, Mar 15, 2015 at 11:53 AM, Erick Erickson wrote: > Yes, "configs" is the same as configsets, I tend to use them > interchangeably. > > You're still missing the poin

Re: Using the collections API to create a new collection

2015-03-15 Thread Erick Erickson
Yes, "configs" is the same as configsets, I tend to use them interchangeably. You're still missing the point. Once the files are up in Zookeeper, that's where they live. They do NOT then live on the nodes hosting the replicas. So, assuming that when you write bq: Our ZK configuration data is unde

Re: Using the collections API to create a new collection

2015-03-15 Thread Mike Thomsen
I tried that with upconfig, and it created it under /configs. Our ZK configuration data is under /dev-local-solr/configs. Not sure how to specify that. Also, is "configs" the same thing as "configsets" for the version of solr that I'm using? Thanks, Mike On Sat, Mar 14, 2015 at 6:38 PM, Anshum

Re: Using the collections API to create a new collection

2015-03-14 Thread Anshum Gupta
Hi Mike, Here's what you want to do: 1. Create or use an existing config set. 2. Upload it to ZooKeeper ( https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities) 3. Use the config name when you create the collection. This would link the config set in zk with your collection. I th

Re: Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
I added this to my solr.xml and restarted, but it didn't do anything even though the path is valid and /opt/configsets contains a folder called base with a conf folder and valid schema and solrconfig... ${configSetBaseDir:/opt/configsets} Any ideas? Is there a way to force an up

Re: Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
I looked in the tree view and I have only a node called "configs." Nothing called "configsets." That's a serious problem, right? So if I'm reading this correctly, I should be able to create a configset based on an existing collection and load it into zookeeper once I find the right location to put

Re: Using the collections API to create a new collection

2015-03-14 Thread Erick Erickson
I bet you did not push the configuration to Zookeeper before creating the collection. If you look in your admin UI, the Cloud link and the "tree" version, you'll find a "configsets" directory that'll show you what you _have_ put in ZK, and I'll bet you find nothing like a config set (containing sc

Using the collections API to create a new collection

2015-03-14 Thread Mike Thomsen
We're running SolrCloud 4.5.0. It's just a standard version of SolrCloud deployed in Tomcat, not something like the Cloudera distribution (I note that because I can't seem to find solrctl and other things referenced in the Cloudera tutorials). I'm trying to create a new Solr collection like this: