Re: While creating collection in SolrCloud can we manually select machines(nodes)
Yes, the Solr Collections API allows you to pass in a set of explicit nodes (subset of the complete list of nodes in your cluster) to setup your Collection. This the createNodeSet input parameter in the CREATE COLLECTION API - described as follows in the documentation: Allows defining the nodes to spread the new collection across. If not provided, the CREATE operation will create shard-replica spread across all live Solr nodes. The format is a comma-separated list of node_names, such as localhost:8983_solr,localhost:8984_solr,localhost:8985_solr. -- View this message in context: http://lucene.472066.n3.nabble.com/While-creating-collection-in-SolrCloud-can-we-manually-select-machines-nodes-tp4144593p4144614.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: While creating collection in SolrCloud can we manually select machines(nodes)
Check this article: SolrCloud - Assigning Nodes To Machines by Erick Erickson. He explains how to do this step by step: http://heliosearch.org/solrcloud-assigning-nodes-machines/ -Original Message- From: vidit.asthana [mailto:vidit.astha...@gmail.com] Sent: Saturday, June 28, 2014 5:09 PM To: solr-user@lucene.apache.org Subject: While creating collection in SolrCloud can we manually select machines(nodes) I have a 4 machine cluster. I want to create a collection with 1 shard and 1 replica. So I only need 2 machines. Is there a way I can explicitly define the machines on which my new collection should be created. -- View this message in context: http://lucene.472066.n3.nabble.com/While-creating-collection-in-SolrCloud-ca n-we-manually-select-machines-nodes-tp4144593.html Sent from the Solr - User mailing list archive at Nabble.com.
While creating collection in SolrCloud can we manually select machines(nodes)
I have a 4 machine cluster. I want to create a collection with 1 shard and 1 replica. So I only need 2 machines. Is there a way I can explicitly define the machines on which my new collection should be created. -- View this message in context: http://lucene.472066.n3.nabble.com/While-creating-collection-in-SolrCloud-can-we-manually-select-machines-nodes-tp4144593.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: While creating collection in SolrCloud can we manually select machines(nodes)
One shard with one replica would be a single machine, so maybe you mean either two shards each with one replica or one shard with two replicas. -- Jack Krupansky -Original Message- From: vidit.asthana Sent: Saturday, June 28, 2014 5:09 PM To: solr-user@lucene.apache.org Subject: While creating collection in SolrCloud can we manually select machines(nodes) I have a 4 machine cluster. I want to create a collection with 1 shard and 1 replica. So I only need 2 machines. Is there a way I can explicitly define the machines on which my new collection should be created. -- View this message in context: http://lucene.472066.n3.nabble.com/While-creating-collection-in-SolrCloud-can-we-manually-select-machines-nodes-tp4144593.html Sent from the Solr - User mailing list archive at Nabble.com.