11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

...<br />

<br />

${solr.data.dir:}<br />

<br />

...<br />

<br />

3. The DistributedUpdateProcessor is part of the default update chain and is automatically injected into any of<br />

your custom update chains, so you don't actually need to make any changes for this capability. However, should<br />

you wish to add it explicitly, you can still add it to the solrconfig.xml file as part of an updateRequestProc<br />

essorChain. For example:<br />

<br />

<br />

<br />

<br />

<br />

<br />

If you do not want the DistributedUpdateProcessFactory auto-injected into your chain (for example, if you want to<br />

use <strong>Solr</strong>Cloud functionality, but you want to distribute updates yourself) then specify the NoOpDistributingUp<br />

dateProcessorFactory update processor factory in your chain:<br />

<br />

<br />

<br />

<br />

<br />

<br />

In the update process, <strong>Solr</strong> skips updating processors that have already been run on other nodes.<br />

ConfigSets API<br />

The ConfigSets API enables you to create, delete, and otherwise manage ConfigSets. To use a ConfigSet<br />

created with this API as the configuration for a collection, use the Collections API.<br />

This API can only be used with <strong>Solr</strong> running in <strong>Solr</strong>Cloud mode. If you are not running <strong>Solr</strong> in <strong>Solr</strong>Cloud mode<br />

but would still like to use shared configurations, please see the section Config Sets.<br />

API Entry Points<br />

The base URL for all API calls is http://:/solr.<br />

/admin/configs?action=CREATE: create a ConfigSet, based on an existing ConfigSet<br />

/admin/configs?action=DELETE: delete a ConfigSet<br />

/admin/configs?action=LIST: list all ConfigSets<br />

Create a ConfigSet<br />

/admin/configs?action=CREATE&name= name&baseConfigSet=<br />

baseConfigSet<br />

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

603

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

Saved successfully!

Ooh no, something went wrong!