User-Agent String.
User-Agent String.
Performs a query to a solr server.
Performs a query to a solr server.
the query to send to solr.
Performs a query to a solr server taking the preferred server into account if provided.
Performs a query to a solr server taking the preferred server into account if provided.
the query to send to the solr server.
the server that should be preferred to process the query. Specific LoadBalancer implementations have to support this and might add their own semantics.
the response and the server that handled the query.
Closes the http client (asynchronously) if it was not provided but created by this class.
Closes the http client (asynchronously) if it was not provided but created by this class.
Java API: Async, non-blocking Solr Server that just allows to
query(SolrQuery). The usage shall be similar to the solrj SolrServer, so query returns a CompletionStage of a QueryResponse.Example usage: