You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/25 07:27:18 UTC

[Solr Wiki] Trivial Update of "CoreAdmin" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/CoreAdmin

The comment on the change is:
added links

------------------------------------------------------------------------------
  == cores ==
  The `<cores>` tag accepts two attribute:
    *'''adminPath''' - Relative path to access the !CoreAdminHandler for dynamic core manipulation.  For example, adminPath="/admin/cores" configures access via http://localhost:8983/solr/admin/cores.  If this attribute is not specified, dynamic manipulation is unavailable.
-   *'''adminHandler''' - FQN(Fully qualified name) of a class that  inherits from CoreAdminHandler.  For example, adminHandler="com.myorg.MyAdminHandler" would configure the custom admin handler (MyAdminHandler) 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 would proceed as follows. 
+   * <!> ["Solr1.4"] '''adminHandler''' - FQN(Fully qualified name) of a class that  inherits from CoreAdminHandler.  For example, adminHandler="com.myorg.MyAdminHandler" would configure the custom admin handler (MyAdminHandler) 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 would 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=MYSTAT
      * Define the implementation of that action as 
@@ -87, +87 @@

  }
  }}}
  
-   There are other methods in CoreAdminHandler that could be used to override default action-s, but for most of the common cases they would not be necessary but left best to the experts. 
+   There are other methods in [http://lucene.apache.org/solr/api/org/apache/solr/handler/admin/CoreAdminHandler.html CoreAdminHandler] that could be used to override default action-s, but for most of the common cases they would not be necessary but left best to the experts. 
  {{{
  class MyAdminHandler extends CoreAdminHandler { 
      //Available for override , but unnecessary except for the rare case. 
@@ -97, +97 @@

  }
  }}}
  
-   See SOLR-1106 for more details. 
+   See [https://issues.apache.org/jira/browse/SOLR-1106 SOLR-1106] for more details. 
  
  == core ==
  The `<core>` tag accepts two attributes: