11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Parameter Type Required Default Description<br />

requestid string Yes The user defined request-id for the Asynchronous request.<br />

The call below will return the status of an already submitted Asynchronous CoreAdmin call.<br />

http://localhost:8983/solr/admin/cores?action=REQUESTSTATUS&requestid=1<br />

Config Sets<br />

On a multicore <strong>Solr</strong> instance, you may find that you want to share configuration between a number of different<br />

cores. You can achieve this using named configsets, which are essentially shared configuration directories<br />

stored under a configurable configset base directory.<br />

To create a configset, simply add a new directory under the configset base directory. The configset will be<br />

identified by the name of this directory. Then into this copy the config directory you want to share. The structure<br />

should look something like this:<br />

/<br />

/configset1<br />

/conf<br />

/managed-schema<br />

/solrconfig.xml<br />

/configset2<br />

/conf<br />

/managed-schema<br />

/solrconfig.xml<br />

The default base directory is $SOLR_HOME/configsets, and it can be configured in solr.xml.<br />

To create a new core using a configset, pass configSet as one of the core properties. For example, if you do<br />

this via the core admin API:<br />

http:///admin/cores?action=CREATE&name=mycore&instanceDir=path/to/instanc<br />

e&configSet=configset2<br />

Configuration APIs<br />

<strong>Solr</strong> includes several APIs that can be used to modify settings in solrconfig.xml.<br />

Blob Store API<br />

Config API<br />

Request Parameters API<br />

Managed Resources<br />

Blob Store API<br />

The Blob Store REST API provides REST methods to store, retrieve or list files in a Lucene index. This can be<br />

used to upload a jar file which contains standard solr components such as RequestHandlers,<br />

SearchComponents, or other custom code you have written for <strong>Solr</strong>.<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

479

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!