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.