algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java
private JSONObject multipleQueriesOnline(@NonNull List<Query> queries, String strategy, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        try {
            JSONObject content = super.multipleQueries(queries, strategy, requestOptions);
            content.put(JSON_KEY_ORIGIN, JSON_VALUE_ORIGIN_REMOTE);
            return content;
        }
        catch (JSONException e) {
            throw new AlgoliaException("Failed to patch JSON result");
        }
    }
private JSONObject multipleQueriesOnline(@NonNull List<Query> queries, String strategy, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        try {
            JSONObject content = super.multipleQueries(queries, strategy, requestOptions);
            content.put(JSON_KEY_ORIGIN, JSON_VALUE_ORIGIN_REMOTE);
            return content;
        }
        catch (JSONException e) {
            throw new AlgoliaException("Failed to patch JSON result");
        }
    }
private JSONObject multipleQueriesOnline ( @ NonNull List < Query > queries , String strategy , @ Nullable RequestOptions requestOptions ) throws AlgoliaException { try { JSONObject content = super . multipleQueries ( queries , strategy , requestOptions ) ; content . put ( JSON_KEY_ORIGIN , JSON_VALUE_ORIGIN_REMOTE ) ; return content ; } catch ( JSONException e ) { throw new AlgoliaException ( "Failed to patch JSON result" ) ; } }
Run multiple queries on this index, explicitly targeting the online API.
Run multiple queries on this index explicitly targeting the online API .