Hi Maybe you can try _router_=myshard? I will check the source code ,note you later.
2014-05-20 17:19 GMT+08:00 YouPeng Yang <yypvsxf19870...@gmail.com>: > 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. >> >> >