Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread Chris Hostetter
ly-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Can't create collection without plugin, : can't load plugin without collection : : I might be on the wrong track, but this statement made me think... : : I can force this to work by removing the c

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread John Bickerstaff
I might be on the wrong track, but this statement made me think... I can force this to work by removing the custom reference, create the collection, load the jar and then add the custom reference back in place. This is fine as a manual one-time setup, but not feasible in a scripted production depl

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread Erick Erickson
Well, it was worth a try ;) On Wed, Sep 7, 2016 at 9:42 AM, John Bickerstaff wrote: > Not sure if it's helpful, but I did solve a similar problem by scripting > the placement of the plugin .jar file into the appropriate directories as > part of the build process for my VMs > > I get that doin

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread John Bickerstaff
Not sure if it's helpful, but I did solve a similar problem by scripting the placement of the plugin .jar file into the appropriate directories as part of the build process for my VMs I get that doing it through the BlobStore would be preferred, probably... But I couldn't get it to work and decide

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread jimtronic
Sadly, that didn't work. Without a core to hit, the /[COLLECTION]/config returns a 404 error. The best bet at this point may be for me may be one of the following: 1. Programmatically modify configoverlay.json file to add the runtime libs when I upload the config. or 2. Patch solr so that sc

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-06 Thread Erick Erickson
Have you tried creating the collection with the special value of "EMPTY" for createNodeSet? See: https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1 It's original purpose was to allow _all_ replicas to be placed manually, but it might work for your use-case. WARNI

Can't create collection without plugin, can't load plugin without collection

2016-09-06 Thread jimtronic
I've run into an orchestration problem while creating collections and loading plugins via the ConfigAPI in Solr Cloud. Here's the scenario: 1. I create a configSet that references a custom class in schema.xml. 2. I upload the jar to the BlobStore and issue add-runtimelib using the Config API. Thi