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 ChrisHarris
Date Wed, 25 Nov 2009 19:07:23 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 ChrisHarris.
The comment on this change is: Clarifying how stuff should pre-exist for the core CREATE command..
http://wiki.apache.org/solr/CoreAdmin?action=diff&rev1=26&rev2=27

--------------------------------------------------

  
  == CREATE ==
  
- 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=true), the configuration for this new core will be saved
in 'solr.xml'.
  If a core with the same name exists, while the "new" created core is initalizing, 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=CREATE&name=coreX&instanceDir=path_to_instance_directory&config=config_file_name.xml&schema=schem_file_name.xml&dataDir=data
  
- 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 instanceDir. Default place to look
for dataDir depends on solrconfig.xml.)
  
  == RELOAD ==
  

Mime
View raw message