You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by shacky <sh...@gmail.com> on 2015/05/06 10:02:20 UTC
New core on Solr Cloud
Hi.
This is my first experience with Solr Cloud.
I installed three Solr nodes with three ZooKeeper instances and they
seemed to start well.
Now I have to create a new replicated core and I'm trying to found out
how I can do it.
I found many examples about how to create shards and cores, but I have
to create one core with only one shard replicated on all three nodes
(so basically I want to have the same data on all three nodes).
Could you help me to understand what is the correct way to make this, please?
Thank you very much!
Bye
Re: New core on Solr Cloud
Posted by shacky <sh...@gmail.com>.
Thank you very much Erick.
Bye
2015-05-06 17:06 GMT+02:00 Erick Erickson <er...@gmail.com>:
> That should have put one replica on each machine, if it did you're fine.
>
> Best,
> Erick
>
> On Wed, May 6, 2015 at 3:58 AM, shacky <sh...@gmail.com> wrote:
>> Ok, I found out that the creation of new core/collection on Solr 5.1
>> is made with the bin/solr script.
>> So I created a new collection with this command:
>>
>> ./solr create_collection -c test -replicationFactor 3
>>
>> Is this the correct way?
>>
>> Thank you very much,
>> Bye!
>>
>> 2015-05-06 10:02 GMT+02:00 shacky <sh...@gmail.com>:
>>> Hi.
>>> This is my first experience with Solr Cloud.
>>> I installed three Solr nodes with three ZooKeeper instances and they
>>> seemed to start well.
>>> Now I have to create a new replicated core and I'm trying to found out
>>> how I can do it.
>>> I found many examples about how to create shards and cores, but I have
>>> to create one core with only one shard replicated on all three nodes
>>> (so basically I want to have the same data on all three nodes).
>>>
>>> Could you help me to understand what is the correct way to make this, please?
>>>
>>> Thank you very much!
>>> Bye
Re: New core on Solr Cloud
Posted by Erick Erickson <er...@gmail.com>.
That should have put one replica on each machine, if it did you're fine.
Best,
Erick
On Wed, May 6, 2015 at 3:58 AM, shacky <sh...@gmail.com> wrote:
> Ok, I found out that the creation of new core/collection on Solr 5.1
> is made with the bin/solr script.
> So I created a new collection with this command:
>
> ./solr create_collection -c test -replicationFactor 3
>
> Is this the correct way?
>
> Thank you very much,
> Bye!
>
> 2015-05-06 10:02 GMT+02:00 shacky <sh...@gmail.com>:
>> Hi.
>> This is my first experience with Solr Cloud.
>> I installed three Solr nodes with three ZooKeeper instances and they
>> seemed to start well.
>> Now I have to create a new replicated core and I'm trying to found out
>> how I can do it.
>> I found many examples about how to create shards and cores, but I have
>> to create one core with only one shard replicated on all three nodes
>> (so basically I want to have the same data on all three nodes).
>>
>> Could you help me to understand what is the correct way to make this, please?
>>
>> Thank you very much!
>> Bye
Re: New core on Solr Cloud
Posted by shacky <sh...@gmail.com>.
Ok, I found out that the creation of new core/collection on Solr 5.1
is made with the bin/solr script.
So I created a new collection with this command:
./solr create_collection -c test -replicationFactor 3
Is this the correct way?
Thank you very much,
Bye!
2015-05-06 10:02 GMT+02:00 shacky <sh...@gmail.com>:
> Hi.
> This is my first experience with Solr Cloud.
> I installed three Solr nodes with three ZooKeeper instances and they
> seemed to start well.
> Now I have to create a new replicated core and I'm trying to found out
> how I can do it.
> I found many examples about how to create shards and cores, but I have
> to create one core with only one shard replicated on all three nodes
> (so basically I want to have the same data on all three nodes).
>
> Could you help me to understand what is the correct way to make this, please?
>
> Thank you very much!
> Bye