Example usage for org.apache.solr.client.solrj SolrRequest process

List of usage examples for org.apache.solr.client.solrj SolrRequest process

Introduction

In this page you can find the example usage for org.apache.solr.client.solrj SolrRequest process.

Prototype

public final T process(SolrClient client, String collection) throws SolrServerException, IOException 

Source Link

Document

Send this request to a SolrClient and return the response

Usage

From source file:org.apache.beam.sdk.io.solr.AuthorizedSolrClient.java

License:Apache License

<ResponseT extends SolrResponse> ResponseT process(String collection, SolrRequest<ResponseT> request)
        throws IOException, SolrServerException {
    request.setBasicAuthCredentials(username, password);
    return request.process(solrClient, collection);
}