Well, it should not hang if all is configured fine :) How many shards and
memory you have ? Note that optimize rewrites index so you might need
additional disk space for this process. Optimizing works fine however I'd
like to be able to do it on a single shard as well.


On 20 May 2014 11:19, YouPeng Yang <yypvsxf19870...@gmail.com> wrote:

> Hi Marcin
>
>   Thanks to your mail,now I know why my cloud hangs when I just click the
> optimize button on the overview page of the shard.
>
>
> 2014-05-20 15:25 GMT+08:00 Ahmet Arslan <iori...@yahoo.com>:
>
> > Hi Marcin,
> >
> > just a guess, pass distrib=false ?
> >
> >
> >
> > Ahmet
> >
> >
> > On Tuesday, May 20, 2014 10:23 AM, Marcin Rzewucki <mrzewu...@gmail.com>
> > wrote:
> > Hi,
> >
> > Do you know how to optimize index on a single shard only ? I was trying
> to
> > use "optimize=true&waitFlush=true&shard.keys=myshard" but it does not
> work
> > - it optimizes all shards instead of just one.
> >
> > Kind regards.
> >
> >
>

Reply via email to