Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 3792 invoked from network); 22 Oct 2008 21:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 21:54:26 -0000 Received: (qmail 97389 invoked by uid 500); 22 Oct 2008 21:54:28 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 97352 invoked by uid 500); 22 Oct 2008 21:54:28 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 97341 invoked by uid 99); 22 Oct 2008 21:54:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 14:54:28 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 21:53:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KsleN-0007lE-Km for solr-dev@lucene.apache.org; Wed, 22 Oct 2008 14:53:55 -0700 Message-ID: <20120478.post@talk.nabble.com> Date: Wed, 22 Oct 2008 14:53:55 -0700 (PDT) From: SinistralEnigma To: solr-dev@lucene.apache.org Subject: Re: Create new core by solrj API fails In-Reply-To: <20117772.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sean@lyricwiki.org References: <19740822.post@talk.nabble.com> <20117772.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I have a fix for this which I've run on my own system. Have to run right now... will contribute the code later tonight. - SinistralEnigma SinistralEnigma wrote: > > I can verify that I have the same problem when trying to use SolrJ's > CoreAdminRequest.createCore() to create a new core. It looks like this is > caused by the request accidentally sending a "core" parameter for the > parameter that is supposed to be "name" > > For example, to create a core named "newCore" SolrJ sends a request like > this: > http://localhost:8983/solr/admin/cores?action=CREATE&core=newCore&instanceDir=newcoredirectory&wt=javabin&version=2.2 > When it should send a request like this: > http://localhost:8983/solr/admin/cores?action=CREATE&name=newCore&instanceDir=newcoredirectory&wt=javabin&version=2.2 > > Also, not to be nit-picky, but it'd be nice to be able to send in the > config and schema parameters to the CoreAdminRequest.createCore() method. > - SinistralEnigma > > > Parisa wrote: >> >> Creating new Core By solrj API (CoreAdminRequest.createCore) fails >> because it doesn't set name parameter >> in getParameters method of CoreAdminRequest class >> >> >> solr version :1.3 >> >> Parisa >> > > -- View this message in context: http://www.nabble.com/Create-new-core-by-solrj-API-fails-tp19740822p20120478.html Sent from the Solr - Dev mailing list archive at Nabble.com.