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.

Query Parameters<br />

Key Type Required Description<br />

collection string Yes The name of the collection that includes the shard to be split.<br />

shard string Yes The name of the shard to be split.<br />

ranges string No A comma-separated list of hash ranges in hexadecimal e.g.<br />

ranges=0-1f4,1f5-3e8,3e9-5dc<br />

split.key string No The key to use for splitting the index<br />

property.nam<br />

e=<br />

value<br />

string No Set core property name to value. See the section Defining core.properties<br />

for details on supported properties and values.<br />

async string No Request ID to track this action which will be processed asynchronously<br />

Output<br />

Output Content<br />

The output will include the status of the request and the new shard names, which will use the original shard as<br />

their basis, adding an underscore and a number. For example, "shard1" will become "shard1_0" and "shard1_1".<br />

If the status is anything other than "success", an error message will explain why the request failed.<br />

Examples<br />

Input<br />

Split shard1 of the "anotherCollection" collection.<br />

http://localhost:8983/solr/admin/collections?action=SPLITSHARD&collection=anotherCol<br />

lection&shard=shard1<br />

Output<br />

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

571

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

Saved successfully!

Ooh no, something went wrong!