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
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
> 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
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
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
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://
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