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:

Re: Using the Collections API

2013-05-17 Thread Mark Miller
What version of Solr? I think there was a bug a couple versions back (perhaps introduced in 4.1 if I remember right) that made it so creates were not spread correctly. - Mark

Re: Using the Collections API

2013-05-17 Thread Shawn Heisey
On 5/17/2013 4:03 AM, Jared Rodriguez wrote: > So it sounds like you want the collection created with a master and a > replica and you want one to be on each node? If so, I believe that you can > get that effect by specifying maxShardsPerNode=1 as part of your url line. > This will tell solr to c

Re: Using the Collections API

2013-05-17 Thread A.Eibner
May 15, 2013, at 6:53 AM, A.Eibner wrote: Hi, I just wanted to ask, if anyone is using the collections API to create collections, or if not how they use the coreAPI to create a collection with replication ? Because I run into errors when creating a collection on an empty solr. Kind regards Alexander

Re: Using the Collections API

2013-05-17 Thread Jared Rodriguez
lr - what is the error? >> >> - Mark >> >> On May 15, 2013, at 6:53 AM, A.Eibner wrote: >> >> Hi, >>> >>> I just wanted to ask, if anyone is using the collections API to create >>> collections, >>> or if not how they use th

Re: Using the Collections API

2013-05-17 Thread A.Eibner
sk, if anyone is using the collections API to create collections, or if not how they use the coreAPI to create a collection with replication ? Because I run into errors when creating a collection on an empty solr. Kind regards Alexander

Re: Using the Collections API

2013-05-15 Thread Jared Rodriguez
Hi Mark, Yes, I am using reload. Here is the jira that I filed. https://issues.apache.org/jira/browse/SOLR-4805 Please let me know if there is any additional data that you need. On Wed, May 15, 2013 at 12:53 PM, Mark Miller wrote: > > On May 15, 2013, at 12:26 PM, Jared Rodriguez > wrote:

Re: Using the Collections API

2013-05-15 Thread Mark Miller
On May 15, 2013, at 12:26 PM, Jared Rodriguez wrote: > the cores in the collection stay offline even if there are no > material changes. I've used reload - if you are having trouble with it, please post more details or file a JIRA issue. - Mark

Re: Using the Collections API

2013-05-15 Thread Jared Rodriguez
Hi, > > I just wanted to ask, if anyone is using the collections API to create > collections, > or if not how they use the coreAPI to create a collection with replication > ? > > Because I run into errors when creating a collection on an empty solr. > > Kind regards > Alexander > -- Jared Rodriguez

Re: Using the Collections API

2013-05-15 Thread Shawn Heisey
On 5/15/2013 4:53 AM, A.Eibner wrote: > I just wanted to ask, if anyone is using the collections API to create > collections, > or if not how they use the coreAPI to create a collection with > replication ? For my little SolrCloud install using 4.2.1, I have used the collections API

Re: Using the Collections API

2013-05-15 Thread Mark Miller
Yeah, I use both on an empty Solr - what is the error? - Mark On May 15, 2013, at 6:53 AM, A.Eibner wrote: > Hi, > > I just wanted to ask, if anyone is using the collections API to create > collections, > or if not how they use the coreAPI to create a collection w

Using the Collections API

2013-05-15 Thread A.Eibner
Hi, I just wanted to ask, if anyone is using the collections API to create collections, or if not how they use the coreAPI to create a collection with replication ? Because I run into errors when creating a collection on an empty solr. Kind regards Alexander