indices.optimize(client, ...)
"indices.optimize"(client, index = "_all", ignore_unavailable = NULL, allow_no_indices = NULL, expand_wildcards = "open", max_num_segments = NULL, only_expunge_deletes = FALSE, flush = TRUE, wait_for_merge = TRUE, raw = FALSE, validate_params = TRUE)