algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public Request setSettingsAsync(final @NonNull JSONObject settings, @Nullable CompletionHandler completionHandler) {
        return setSettingsAsync(settings, /* forwardToReplicas: */ false, /* requestOptions: */ null, completionHandler);
    }
public Request setSettingsAsync(final @NonNull JSONObject settings, @Nullable CompletionHandler completionHandler) {
        return setSettingsAsync(settings, /* forwardToReplicas: */ false, /* requestOptions: */ null, completionHandler);
    }
Set this index's settings (asynchronously).
<p>
Please refer to our <a href="https://www.algolia.com/doc/android#index-settings">API documentation</a> for the
list of supported settings.

@param settings          New settings.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.