Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35DA7D5A9 for ; Thu, 20 Dec 2012 10:07:39 +0000 (UTC) Received: (qmail 17183 invoked by uid 500); 20 Dec 2012 10:07:39 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 16936 invoked by uid 500); 20 Dec 2012 10:07:34 -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 16911 invoked by uid 99); 20 Dec 2012 10:07:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 10:07:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 10:07:31 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id EB2A39CB; Thu, 20 Dec 2012 10:07:10 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 20 Dec 2012 10:07:09 -0000 Message-ID: <20121220100709.61992.46076@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22CoreAdmin=22_by_WangQun?= Auto-Submitted: auto-generated 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 WangQun: http://wiki.apache.org/solr/CoreAdmin?action=3Ddiff&rev1=3D42&rev2=3D43 Comment: add Solr4.0 features The `` tag accepts two attributes: *'''persistent''' - By default, should runtime core manipulation be sav= ed in ''solr.xml'' so that it is available after a restart. *'''sharedLib''' - Path to a directory containing .jar files that are a= dded to the classpath of every core. The path is relative to solr.home (wh= ere solr.xml sits) + * [[Solr4.0]] '''zkHost''' - Used for SolrCloud, zookeeper server l= ist. = =3D=3D cores =3D=3D The `` tag accepts the following attributes: @@ -67, +68 @@ *'''adminPath''' - Relative path to access the !CoreAdminHandler for dy= namic core manipulation. For example, adminPath=3D"/admin/cores" configure= s access via http://localhost:8983/solr/admin/cores. If this attribute is = not specified, dynamic manipulation is unavailable. ** [[Solr1.4]] '''defaultCoreName''' - The name of a core that will= be used for requests that don't specify a core. If you have one core and = want to use the features specified on this page, then this provides a way t= o keep your URLs the same. ** [[Solr1.4]] '''shareSchema''' - The value can be 'true' or 'fals= e'. This ensures that the multiple cores pointing to the same schema.xml wi= ll be referring to the same !IndexSchema Object. This makes loading the cor= e faster. Ensure that no core specific property is used in your schema.xml. + * [[Solr4.0]] '''hostContext''' - the host context of solr url. + * [[Solr4.0]] '''zkClientTimeout''' - Timeout for connection of zoo= keeper server. It's used for SolrCloud environment for ensure the connectio= n status. * [[Solr1.4]] '''adminHandler''' - FQN(Fully qualified name) of a c= lass that inherits from !CoreAdminHandler. For example, adminHandler=3D"c= om.myorg.!MyAdminHandler" would configure the custom admin handler (!MyAdmi= nHandler) to handler admin requests ( as opposed to org.apache.solr.handler= .admin.!CoreAdminHandler , that is the default admin handler if one is not = specified ). To illustrate an use case for the same - suppose if there is a= need to get some statistics from different cores in a solr instance - we w= ould proceed as follows. = * Define a new action called 'mystat' that could be accessed from the = client as below. = http://localhost:8983/solr/admin/cores?action=3DMYSTAT