RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
Thanks, good catch, completely forgot about the & and its meaning in unix. > From: j...@basetechnology.com > To: solr-user@lucene.apache.org > Subject: Re: Creating a new core programmicatically in solr > Date: Tue, 4 Jun 2013 13:22:34 -0400 > > The double quotes are re

Re: Creating a new core programmicatically in solr

2013-06-04 Thread Jack Krupansky
y, June 04, 2013 12:56 PM To: solr-user@lucene.apache.org Subject: RE: Creating a new core programmicatically in solr I'm aware of the CoreAdminRequest API, however given the fact that our solr cluster machines have their own internal configurations I'd prefer to use the http appr

RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
> Date: Tue, 4 Jun 2013 10:03:50 -0700 > From: bbar...@gmail.com > To: solr-user@lucene.apache.org > Subject: RE: Creating a new core programmicatically in solr > > did you try escaping double quotes when you are making the http request. > > HttpGet req = new > Http

RE: Creating a new core programmicatically in solr

2013-06-04 Thread bbarani
did you try escaping double quotes when you are making the http request. HttpGet req = new HttpGet(\"+getSolrClient().getBaseUrl()+ADMIN_CORE_CONSTRUCT+"?action="+action+"&name="+name+\"); HttpResponse response = client.execute(request); -- View this message in context: http://lucene.472066

RE: Creating a new core programmicatically in solr

2013-06-04 Thread Saikat Kanjilal
tes needed around the curl command and how to simulate that through the restclient or even the java code, its weird that this is needed. Anyways thanks for the inputs. > Date: Tue, 4 Jun 2013 09:52:03 -0700 > From: bbar...@gmail.com > To: solr-user@lucene.apache.org > Subject: R

Re: Creating a new core programmicatically in solr

2013-06-04 Thread bbarani
I would use the below method to create new core on the fly... CoreAdminResponse e = CoreAdminRequest.createCore("name", "instanceDir", server); http://lucene.apache.org/solr/4_3_0/solr-solrj/org/apache/solr/client/solrj/response/CoreAdminResponse.html -- View this message in context: http://

Re: Creating a new core programmicatically in solr

2013-06-04 Thread Jack Krupansky
Best to submit your inquiry as a DataStax support ticket or on their support forum. They have people standing by ready to support you. -- Jack Krupansky -Original Message- From: Saikat Kanjilal Sent: Tuesday, June 04, 2013 12:41 PM To: solr-user@lucene.apache.org Subject: Creating a n