@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeStringArrayNullable(indices); indicesOptions.writeIndicesOptions(out); writeSettingsToStream(settings, out); writeTimeout(out); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeStringArrayNullable(indices); indicesOptions.writeIndicesOptions(out); writeSettingsToStream(settings, out); writeTimeout(out); out.writeBoolean(preserveExisting); } }