lucene-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 Fri, 14 Jun 2013 21:02:46 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:
https://wiki.apache.org/solr/SolrCloud?action=diff&rev1=106&rev2=107

   * '''createNodeSet''': If not provided the create operation will create shard-replica spread
across all of your live Solr nodes. You can provide the "createNodeSet" parameter to change
the set of nodes to spread the shard-replica across. The format of values for this param is
"<node-name1>,<node-name2>,...,<node-nameN>" - e.g. "localhost:8983_solr,localhost:8984_solr,localhost:8985_solr"
   * '''collection.configName''': The name of the config (must be already stored in zookeeper)
to use for this new collection. If not provided the create operation will default to the collection
name as the config name.
  
- '''CreateAlias''' http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,…
- 
  <!> [[Solr4.2]]
  
  About the params:
@@ -236, +234 @@

  This feature allows for seamless splitting and requires no down-time. The parent shard is
not removed and therefore no data is removed. It is up to the user of the command to unload
the shard using the new APIs in SOLR-4693 (under construction).
  
  This feature was released with Solr 4.3 however due to bugs found after 4.3 release, it
is recommended that you wait for release 4.3.1 before using this feature.
+ 
+ == Collection Aliases ==
+ 
+ Aliasing allows you to create a single 'virtual' collection name that can point to one more
real collections. You can update the alias on the fly.
+ 
+ '''CreateAlias''' http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,…
+ 
+ Creates or updates a given alias. Aliases that are used to send updates to should only map
an alias to a single collection. Read aliases can map an alias to a single collection or multiple
collections.
+ 
+ '''DeleteAlias''' http://localhost:8983/solr/admin/collections?action=DELETEALIAS&name=alias
+ 
+ Removes an existing alias.
  
  == Creating cores via CoreAdmin ==
  New Solr cores may also be created and associated with a collection via CoreAdmin.

Mime
View raw message