algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
private JSONObject searchSync(@NonNull Query query) throws AlgoliaException {
        return OfflineClient.parseSearchResults(localIndex.search(query.build()));
    }
private JSONObject searchSync(@NonNull Query query) throws AlgoliaException {
        return OfflineClient.parseSearchResults(localIndex.search(query.build()));
    }
Search inside this index (synchronously).

@return Search results.