lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "CoreAdmin" by ErickErickson
Date Thu, 14 Feb 2013 12:43:20 GMT
Dear Wiki user,

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

The "CoreAdmin" page has been changed by ErickErickson:
http://wiki.apache.org/solr/CoreAdmin?action=diff&rev1=44&rev2=45

    ** <!> [[Solr1.4]] '''shareSchema''' - The value can be 'true' or 'false'. This
ensures that the multiple cores pointing to the same schema.xml will be referring to the same
!IndexSchema Object. This makes loading the core 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 zookeeper server.
It's used for SolrCloud environment for ensure the connection status.
+   * <!> [[Solr4.1]] '''transientCacheSize''' - The limit for the LRU cache of "lazily
loaded" cores. More at [[LotsOfCores|LotsOfCores]]
    * <!> [[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
@@ -119, +120 @@

    *'''config''' - The configuration file name for a given core. The default is 'solrconfig.xml'.
    *'''schema''' - The schema file name for a given core. The default is 'schema.xml'.
    *'''dataDir''' - The data directory for a given core. The default is <instanceDir>/data
. It can take an absolute path or a relative path w.r.t instanceDir . <!> [[Solr1.4]]
+   * '''loadOnStartup''' - true|false. Whether the core should be completely loaded upon
startup. More at [[LotsOfCores|LotsOfCores]] <!> [[Solr4.1]]
+   * '''transient'''- true|false. Whether the core is allowed to be swapped out or not. More
at [[LotsOfCores|LotsOfCores]] <!> [[Solr4.1]]
-   *'''properties''' -The core properties file name.This can be an absolute or relative path(relative
to instanceDir) <!> [[Solr1.4]]
+   *'''properties''' - The core properties file name.This can be an absolute or relative
path(relative to instanceDir) <!> [[Solr1.4]]
  
  == property ==
  The `<property>` tag accepts two attributes:

Mime
View raw message