bq: would balance the data itself.

not if you mean split it up amongst shards. The entire index would be
on a _single_ shard. If you then do ADDREPLICA on that shard it'll
replicate the entire index to each replica

Also note that when you scp stuff around I'd recommend the destination
Solr node be down. Otherwise use the fetchindex. Although note that
fetchindex will prevent queries from being served in cloud mode.

What I was thinking is more a one-time transfer rather than something
ongoing. Solr 7.0 will have support for variants of the ongoing theme.
I was thinking something like

1> move the indexes to a single-replica SolrCloud
2> if you need more shards, use SPLITSHARD on the SolrCloud installation.
3> use ADDREPLICA to build out your SolrCloud setup
4> thereafter index directly to your SolrCloud installation
5> when you've proved out your SolrCloud setup, get rid of the old
stand-alone stuff.

Best,
Erick

On Thu, Jun 8, 2017 at 8:55 AM, Novin Novin <toe.al...@gmail.com> wrote:
> Thanks Erick
>
> No, I'm not doing distributed search. These two core with different type of
> information.
>
> If I understand you correctly, I can just use scp to copy index files from
> solr to any shard of solrcloud and than solrcloud would balance the data
> itself.
>
> Cheers
>
>
>
>
>
> On Thu, 8 Jun 2017 at 15:46 Erick Erickson <erickerick...@gmail.com> wrote:
>
>> You say you have two cores. Are Tha same collection? That is, are you doing
>> distributed search? If not, you can use the replication APIs fetchindex
>> command to manually move them.
>>
>> For that matter, you can just scp the indexes over too, they're just files.
>>
>> If you're doing distributed search on your stand alone Solr, then you'd
>> need to insure that the hash ranges were correct on your two-handed
>> SolrCloud setup.
>>
>> Best,
>> Erick
>>
>> On Jun 8, 2017 07:06, "Novin Novin" <toe.al...@gmail.com> wrote:
>>
>> > Hi Guys,
>> >
>> > I have set up SolrCloud  for production but ready to use and currently
>> Solr
>> > running with two core in production. SolrCloud machines are separate than
>> > standalone Solr and has two collections in SolrCloud similar to Solr.
>> >
>> > Is it possible and  would be useful. If I could be replicate data from
>> Solr
>> > to SolrCloud like master slave does or use some other method to send data
>> > from Solr to SolrCloud.
>> >
>> > Let me know if you guys need more information.
>> >
>> > Thanks in advance,
>> > Navin
>> >
>>

Reply via email to