public JSONObject searchSync(@Nullable Query query, @Nullable RequestOptions requestOptions) throws AlgoliaException {
    """
	Searches inside this index (synchronously).
	
	@param query          Search parameters.
	@param requestOptions Request-specific options.
	@return Search results.
    """
        return search(query, requestOptions);
    }
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.
Searches inside this index ( synchronously ) .