algoliasearch/src/main/java/com/algolia/search/saas/Index.java
protected JSONObject multipleQueries(@NonNull Collection<Query> queries, String strategy, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        List<IndexQuery> requests = new ArrayList<>(queries.size());
        for (Query query : queries) {
            requests.add(new IndexQuery(this, query));
        }
        return client.multipleQueries(requests, strategy, requestOptions);
    }
protected JSONObject multipleQueries(@NonNull Collection<Query> queries, String strategy, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        List<IndexQuery> requests = new ArrayList<>(queries.size());
        for (Query query : queries) {
            requests.add(new IndexQuery(this, query));
        }
        return client.multipleQueries(requests, strategy, requestOptions);
    }
protected JSONObject multipleQueries ( @ NonNull Collection < Query > queries , String strategy , @ Nullable RequestOptions requestOptions ) throws AlgoliaException { List < IndexQuery > requests = new ArrayList <> ( queries . size ( ) ) ; for ( Query query : queries ) { requests . add ( new IndexQuery ( this , query ) ) ; } return client . multipleQueries ( requests , strategy , requestOptions ) ; }
Run multiple queries on this index with one API call.
A variant of {@link Client#multipleQueries(List, String, RequestOptions)} where all queries target this index.

@param queries        Queries to run.
@param strategy       Strategy to use.
@param requestOptions Request-specific options.
@return The JSON results returned by the server.
@throws AlgoliaException
Run multiple queries on this index with one API call . A variant of { @link Client#multipleQueries ( List String RequestOptions ) } where all queries target this index .