@Override
 public void writeTo(StreamOutput out) throws IOException {
   if (indices == null) {
     out.writeVInt(0);
   } else {
     out.writeVInt(indices.length);
     for (String index : indices) {
       out.writeUTF(index);
     }
   }
   out.writeByte(operationThreading.id());
 }