algoliasearch/src/main/java/com/algolia/search/saas/Query.java
@Deprecated
    public @NonNull
    Query setAttributesToHighlight(List<String> attributes) {
        return set(KEY_ATTRIBUTES_TO_HIGHLIGHT, buildJSONArray((String[]) attributes.toArray()));
    }
@Deprecated
    public @NonNull
    Query setAttributesToHighlight(List<String> attributes) {
        return set(KEY_ATTRIBUTES_TO_HIGHLIGHT, buildJSONArray((String[]) attributes.toArray()));
    }
Deprecated, use {@link #setAttributesToHighlight(String...)}