algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
public Request searchForFacetValuesAsync(final @NonNull String facetName, final @NonNull String facetQuery, @Nullable Query query, @NonNull CompletionHandler completionHandler) {
        final Query queryCopy = query != null ? new Query(query) : null;
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return searchForFacetValuesSync(facetName, facetQuery, queryCopy);
            }
        }.start();
    }
public Request searchForFacetValuesAsync(final @NonNull String facetName, final @NonNull String facetQuery, @Nullable Query query, @NonNull CompletionHandler completionHandler) {
        final Query queryCopy = query != null ? new Query(query) : null;
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return searchForFacetValuesSync(facetName, facetQuery, queryCopy);
            }
        }.start();
    }
Search for facet values (asynchronously).
Same parameters as {@link Index#searchForFacetValues(String, String, Query, CompletionHandler)}.