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 Ankita Patil <an...@germinait.com> on 2011/11/10 06:20:34 UTC
Dynamic adding of shards
Hi,
One way to add new shards is to add them in the shard parameter in the
solrconfig.xml file. But this will require to restart the solr server
everytime you add a new shard.
I wanted to know if it is possible to dynamically add shards without having
to restart the solr server. If yes how?
Thanks in advance.
Ankita
Re: Dynamic adding of shards
Posted by Ankita Patil <an...@germinait.com>.
Hi,
Reloading the index works. Thanks
Ankita
On 11 November 2011 19:19, Erick Erickson <er...@gmail.com> wrote:
> You can always put the shards in the URL.
>
> I don't know whether reloading the core will accomplish this,
> you might check that out. See:
> http://wiki.apache.org/solr/CoreAdmin#RELOAD
>
> Best
> Erick
>
> On Thu, Nov 10, 2011 at 12:20 AM, Ankita Patil
> <an...@germinait.com> wrote:
> > Hi,
> > One way to add new shards is to add them in the shard parameter in the
> > solrconfig.xml file. But this will require to restart the solr server
> > everytime you add a new shard.
> > I wanted to know if it is possible to dynamically add shards without
> having
> > to restart the solr server. If yes how?
> >
> > Thanks in advance.
> >
> > Ankita
> >
>
Re: Dynamic adding of shards
Posted by Erick Erickson <er...@gmail.com>.
You can always put the shards in the URL.
I don't know whether reloading the core will accomplish this,
you might check that out. See:
http://wiki.apache.org/solr/CoreAdmin#RELOAD
Best
Erick
On Thu, Nov 10, 2011 at 12:20 AM, Ankita Patil
<an...@germinait.com> wrote:
> Hi,
> One way to add new shards is to add them in the shard parameter in the
> solrconfig.xml file. But this will require to restart the solr server
> everytime you add a new shard.
> I wanted to know if it is possible to dynamically add shards without having
> to restart the solr server. If yes how?
>
> Thanks in advance.
>
> Ankita
>