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.

autoAddReplicas boolean No false When set to true, enables auto addition of<br />

replicas on shared file systems. See the section<br />

autoAddReplicas Settings for more details on<br />

settings and overrides.<br />

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

essed asynchronously.<br />

rule string No Replica placement rules. See the section Rule-b<br />

ased Replica Placement for details.<br />

snitch string No Details of the snitch provider. See the section Ru<br />

le-based Replica Placement for details.<br />

Output<br />

Output Content<br />

The response will include the status of the request and the new core names. If the status is anything other than<br />

"success", an error message will explain why the request failed.<br />

Examples<br />

Input<br />

http://localhost:8983/solr/admin/collections?action=CREATE&name=newCollection&numSha<br />

rds=2&replicationFactor=1<br />

Output<br />

<br />

<br />

0<br />

3764<br />

<br />

<br />

<br />

<br />

0<br />

3450<br />

<br />

newCollection_shard1_replica1<br />

<br />

<br />

<br />

0<br />

3597<br />

<br />

newCollection_shard2_replica1<br />

<br />

<br />

<br />

Modify attributes of a Collection<br />

/admin/collections?action=MODIFYCOLLECTION&collection=&= &=<br />

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

568

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

Saved successfully!

Ooh no, something went wrong!