private JSONObject _multipleQueriesOffline(@NonNull List<Query> queries, String strategy) throws AlgoliaException
    {
        if (!mirrored) {
            throw new IllegalStateException("Cannot run offline search on a non-mirrored index");
        }
        return new MultipleQueryEmulator(this.getRawIndexName()) {
            @Override
            protected JSONObject singleQuery(@NonNull Query query) throws AlgoliaException {
                return _searchOffline(query);
            }
        }.multipleQueries(queries, strategy);
    }
private JSONObject _multipleQueriesOffline ( @ NonNull List < Query > queries , String strategy ) throws AlgoliaException { if ( ! mirrored ) { throw new IllegalStateException ( "Cannot run offline search on a non-mirrored index" ) ; } return new MultipleQueryEmulator ( this . getRawIndexName ( ) ) { @ Override protected JSONObject singleQuery ( @ NonNull Query query ) throws AlgoliaException { return _searchOffline ( query ) ; } } . multipleQueries ( queries , strategy ) ; }
Run multiple queries on this index, explicitly targeting the offline mirror.