Does Solr master/slave support shard split

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Does Solr master/slave support shard split

Pushkar Raste
Hi,
Does Solr support shard split in the master/slave setup. I understand that
there is no shard concept is master/slave and we just have cores but can we
split a core into two.

If yes is there way to specify new mapping based on the unique key.
--
— Pushkar Raste
Reply | Threaded
Open this post in threaded view
|

Re: Does Solr master/slave support shard split

Erick Erickson
In a word, “no”. It’s a whole ’nother architecture to deal
with shards, and stand-alone (i.e. master/slave) has no
concept of that.

You could make a single-shard collection in SolrCloud,
copy the index to the right place (I’d shut down Solr while
I copied it), and then use SPLITSHARD on it, but that implies
you’d be going to SolrCloud.

Best,
Erick

> On May 21, 2020, at 10:35 AM, Pushkar Raste <[hidden email]> wrote:
>
> Hi,
> Does Solr support shard split in the master/slave setup. I understand that
> there is no shard concept is master/slave and we just have cores but can we
> split a core into two.
>
> If yes is there way to specify new mapping based on the unique key.
> --
> — Pushkar Raste

Reply | Threaded
Open this post in threaded view
|

Re: Does Solr master/slave support shard split

Pushkar Raste
Thanks Eric. Moving to SolrCloud for splitting is what I too imagined 😐

On Thu, May 21, 2020 at 1:28 PM Erick Erickson <[hidden email]>
wrote:

> In a word, “no”. It’s a whole ’nother architecture to deal
> with shards, and stand-alone (i.e. master/slave) has no
> concept of that.
>
> You could make a single-shard collection in SolrCloud,
> copy the index to the right place (I’d shut down Solr while
> I copied it), and then use SPLITSHARD on it, but that implies
> you’d be going to SolrCloud.
>
> Best,
> Erick
>
> > On May 21, 2020, at 10:35 AM, Pushkar Raste <[hidden email]>
> wrote:
> >
> > Hi,
> > Does Solr support shard split in the master/slave setup. I understand
> that
> > there is no shard concept is master/slave and we just have cores but can
> we
> > split a core into two.
> >
> > If yes is there way to specify new mapping based on the unique key.
> > --
> > — Pushkar Raste
>
> --
— Pushkar Raste