Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 1310 invoked from network); 25 Nov 2009 19:07:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 19:07:48 -0000 Received: (qmail 63238 invoked by uid 500); 25 Nov 2009 19:07:48 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 63163 invoked by uid 500); 25 Nov 2009 19:07:47 -0000 Mailing-List: contact solr-commits-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-commits@lucene.apache.org Received: (qmail 63154 invoked by uid 99); 25 Nov 2009 19:07:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 19:07:47 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 19:07:45 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 108AF17816; Wed, 25 Nov 2009 19:07:24 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 25 Nov 2009 19:07:23 -0000 Message-ID: <20091125190723.5903.20040@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22CoreAdmin=22_by_ChrisHarris?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "CoreAdmin" page has been changed by ChrisHarris. The comment on this change is: Clarifying how stuff should pre-exist for th= e core CREATE command.. http://wiki.apache.org/solr/CoreAdmin?action=3Ddiff&rev1=3D26&rev2=3D27 -------------------------------------------------- = =3D=3D CREATE =3D=3D = - Creates a new core and register it. + Creates a new core based on preexisting instanceDir/solrconfig.xml/schema= .xml, and registers it. If persistence is enabled (persist=3Dtrue), the configuration for this ne= w core will be saved in 'solr.xml'. If a core with the same name exists, while the "new" created core is init= alizing, the "old" one will continue to accept requests. Once it has finished, all new request will go to the "new" core, and the "old"= core will be unloaded. = http://localhost:8983/solr/admin/cores?action=3DCREATE&name=3DcoreX&inst= anceDir=3Dpath_to_instance_directory&config=3Dconfig_file_name.xml&schema= =3Dschem_file_name.xml&dataDir=3Ddata = - Note that config ,schema & dataDir parameters are optional. + instanceDir is a required parameter. config, schema & dataDir parameters = are optional. (Default is to look for solrconfig.xml/schema.xml inside inst= anceDir. Default place to look for dataDir depends on solrconfig.xml.) = =3D=3D RELOAD =3D=3D =20