code: HttpUrl lenientSearch(List<String> indices, @Nullable String type) {
      HttpUrl.Builder builder = http.baseUrl.newBuilder().addPathSegment(join(indices));
      if (type != null) builder.addPathSegment(type);
      return builder.addPathSegment("_search")
                    // keep these in alphabetical order as it simplifies amazon signatures!
                    .addQueryParameter("allow_no_indices", "true")
                    .addQueryParameter("expand_wildcards", "open")
                    .addQueryParameter("ignore_unavailable", "true").build();
    }
docs: Matches the behavior of {@code IndicesOptions#lenientExpandOpen()}