Take a look at the collections API CREATE command, especially the
"createNodeSet". One variant lets you specify the nodes used to
distribute the collection with limited control over what core goes
where through the createNodeSet.shuffle parameter.

Alternatively you can use "EMPTY" for the createNodeSet and Solr will
create the skeleton of the collection in ZK but not create any actual
replicas. You can then use ADDREPLICA to place each and every node
exactly where you want it with the "node" parameter of ADDREPLCIA.

In both cases, the "node" is the string you see under the "live_nodes" znode.

Best,
Erick

On Mon, Dec 11, 2017 at 3:08 AM, Leo Prince
<leoprince.discussi...@gmail.com> wrote:
> Hi,
>
> I just wanted to delegate specific Solr nodes to specific collections. As
> per my understanding, when a collection creates in Solr7, core is
> automatically creates in the backend. Since my cores are getting different
> volume of traffic, I wanted to delegate specific collections to specific
> nodes. One core is read intensive with less write and other is write
> intensive with less read so dont want to mix their IO together. Earlier in
> Solr4, we were able to hard code it in tomcat solr.xml, similarly is there
> any ways that we can do this in solr7..?
>
> Thanks in advance.
> Leo Prince.

Reply via email to