lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrCloud" by Mark Miller
Date Thu, 16 Aug 2012 15:01:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrCloud" page has been changed by Mark Miller:
http://wiki.apache.org/solr/SolrCloud?action=diff&rev1=57&rev2=58

  
  
  == Managing collections via the Collections API ==
+ The collections API let's you manage collections. Under the hood, it generally uses the
CoreAdmin API to manage SolrCores on each server - it's essentially sugar for actions that
you could handle yourself if you made individual CoreAdmin API calls to each server you wanted
an action to take place on.
  
- TBD
+ Create
+ http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=3&numReplicas=4
+ 
+ Delete
+ http://localhost:8983/solr/admin/collections?action=DELETE&name=mycollection
+ 
+ Reload
+ http://localhost:8983/solr/admin/collections?action=RELOAD&name=mycollection
  
  == Creating cores via CoreAdmin ==
  New Solr cores may also be created and associated with a collection via CoreAdmin.

Mime
View raw message