algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public JSONObject searchSync(@Nullable Query query, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        return search(query, requestOptions);
    }
public JSONObject searchSync(@Nullable Query query, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        return search(query, requestOptions);
    }
Searches inside this index (synchronously).

@param query          Search parameters.
@param requestOptions Request-specific options.
@return Search results.