public Request searchOnlineAsync(@NonNull Query query, @Nullable final RequestOptions requestOptions, @NonNull final CompletionHandler completionHandler) {
    """
	Search the online API.
	
	@param query Search query.
	@param requestOptions Request-specific options.
	@param completionHandler The listener that will be notified of the request's outcome.
	@return A cancellable request.
    """
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return searchOnline(queryCopy, requestOptions);
            }
        }.start();
    }
public Request searchOnlineAsync(@NonNull Query query, @Nullable final RequestOptions requestOptions, @NonNull final CompletionHandler completionHandler) {
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return searchOnline(queryCopy, requestOptions);
            }
        }.start();
    }
public Request searchOnlineAsync ( @ NonNull Query query , @ Nullable final RequestOptions requestOptions , @ NonNull final CompletionHandler completionHandler ) { final Query queryCopy = new Query ( query ) ; return getClient ( ) . new AsyncTaskRequest ( completionHandler ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return searchOnline ( queryCopy , requestOptions ) ; } } . start ( ) ; }
Search the online API.

@param query Search query.
@param requestOptions Request-specific options.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
Search the online API .