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.

Create a ConfigSet, based on an existing ConfigSet.<br />

Input<br />

Key Type Required Default Description<br />

name String Yes ConfigSet to be created<br />

baseConfigSet String Yes ConfigSet to copy as a base<br />

configSetProp.name=value String No ConfigSet property from base to override<br />

Output<br />

Output Content<br />

The output will include the status of the request. If the status is anything other than "success", an error message<br />

will explain why the request failed.<br />

Examples<br />

Input<br />

Create a ConfigSet named 'myConfigSet' based on a 'predefinedTemplate' ConfigSet, overriding the immutable<br />

property to false.<br />

http://localhost:8983/solr/admin/configs?action=CREATE&name=myConfigSet&baseConfigSe<br />

t=predefinedTemplate&configSetProp.immutable=false<br />

Output<br />

<br />

<br />

0<br />

323<br />

<br />

<br />

Delete a ConfigSet<br />

/admin/configs?action=DELETE&name=name<br />

Delete a ConfigSet<br />

Input<br />

Query Parameters<br />

Key Type Required Default Description<br />

name String Yes ConfigSet to be deleted<br />

Output<br />

Output Content<br />

The output will include the status of the request. If the status is anything other than "success", an error message<br />

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

604

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

Saved successfully!

Ooh no, something went wrong!