lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Step By Step guide to create Solr Cloud in Solr 6.x
Date Mon, 01 May 2017 17:38:06 GMT
First, you should not have to restart Solr. Second, generally Solr
will distribute replicas fairly evenly, just use the Collections API,
CREATE command and optionally supply a "nodeSet" parameter.

If you really require exact placement of replicas on exact machines
(which I contend you probably do not), use the special nodeset EMPTY
which will create _no_ replicas. Then use ADDREPLICA with the "node"
parameter to place replicas on exact machines.

DO NOT USE the core admin API unless you have really unusual needs.
That API is low-level and you have to get everything exactly right.

Best,
Erick

On Sun, Apr 30, 2017 at 8:28 PM, Nilesh Kamani <nilesh.kamani@gmail.com> wrote:
> UPDATE -
>
> After restarting the server, I can see that issue has been resolved for now.
>
>
> On Sun, Apr 30, 2017 at 11:12 PM, Nilesh Kamani <nilesh.kamani@gmail.com>
> wrote:
>
>> UPDATE -
>>
>> Able to get shard1 on server and shard2 on server 2 and core on server 1
>> in the cluster.
>>
>> How can I add another node/core to cluster which is on server 2.
>>
>>
>>
>>
>> On Sun, Apr 30, 2017 at 9:48 PM, Nilesh Kamani <nilesh.kamani@gmail.com>
>> wrote:
>>
>>> Hello All,
>>>
>>> Sorry to bother you all again. I am having hard time understanding solr
>>> terminologies.
>>>
>>> Is there any step by step guide to create solr cloud in Solr 6.x ?
>>>
>>> I have two servers on my google cloud and have installed solr on both of
>>> them.
>>>
>>> I would like to create one collection, shard1 on server1, shard2 on
>>> server2, (replicas).
>>>
>>> I want to index few GBs of documents on Shard1/Server1 and few GBs
>>> documents on Shard2/Server1.
>>>
>>> Could you please point me to a link or video ?
>>>
>>> Thanks,
>>> Nilesh Kamani
>>>
>>>
>>>
>>>
>>

Mime
View raw message