algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
public Request searchDisjunctiveFacetingAsync(@NonNull Query query, @NonNull final List<String> disjunctiveFacets, @NonNull final Map<String, List<String>> refinements, @NonNull final CompletionHandler completionHandler) {
        return new DisjunctiveFaceting() {
            @Override
            protected Request multipleQueriesAsync(@NonNull Collection<Query> queries, @NonNull CompletionHandler completionHandler) {
                return OfflineIndex.this.multipleQueriesAsync(new ArrayList(queries), null, completionHandler);
            }
        }.searchDisjunctiveFacetingAsync(query, disjunctiveFacets, refinements, completionHandler);
    }
public Request searchDisjunctiveFacetingAsync(@NonNull Query query, @NonNull final List<String> disjunctiveFacets, @NonNull final Map<String, List<String>> refinements, @NonNull final CompletionHandler completionHandler) {
        return new DisjunctiveFaceting() {
            @Override
            protected Request multipleQueriesAsync(@NonNull Collection<Query> queries, @NonNull CompletionHandler completionHandler) {
                return OfflineIndex.this.multipleQueriesAsync(new ArrayList(queries), null, completionHandler);
            }
        }.searchDisjunctiveFacetingAsync(query, disjunctiveFacets, refinements, completionHandler);
    }
public Request searchDisjunctiveFacetingAsync ( @ NonNull Query query , @ NonNull final List < String > disjunctiveFacets , @ NonNull final Map < String , List < String > > refinements , @ NonNull final CompletionHandler completionHandler ) { return new DisjunctiveFaceting ( ) { @ Override protected Request multipleQueriesAsync ( @ NonNull Collection < Query > queries , @ NonNull CompletionHandler completionHandler ) { return OfflineIndex . this . multipleQueriesAsync ( new ArrayList ( queries ) , null , completionHandler ) ; } } . searchDisjunctiveFacetingAsync ( query , disjunctiveFacets , refinements , completionHandler ) ; }
Perform a search with disjunctive facets, generating as many queries as number of disjunctive facets (helper).

@param query             The query.
@param disjunctiveFacets List of disjunctive facets.
@param refinements       The current refinements, mapping facet names to a list of values.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
Perform a search with disjunctive facets generating as many queries as number of disjunctive facets ( helper ) .