Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.response |
Convenience classes for dealing with various types of Solr responses.
|
Modifier and Type | Method and Description |
---|---|
ResponseParser |
SolrRequest.getResponseParser() |
Modifier and Type | Method and Description |
---|---|
void |
SolrRequest.setResponseParser(ResponseParser responseParser)
Optionally specify how the Response should be parsed.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryResponseParser |
class |
InputStreamResponseParser
Simply puts the InputStream into an entry in a NamedList named "stream".
|
class |
NoOpResponseParser
Simply puts the entire response into an entry in a NamedList.
|
class |
StreamingBinaryResponseParser
A BinaryResponseParser that sends callback events rather then build
a large response
|
class |
XMLResponseParser |
Modifier and Type | Field and Description |
---|---|
protected ResponseParser |
HttpSolrClient.parser
Default response parser is BinaryResponseParser
|
protected ResponseParser |
LBSolrClient.parser |
protected ResponseParser |
SolrClientBuilder.responseParser |
Modifier and Type | Method and Description |
---|---|
ResponseParser |
Http2SolrClient.getParser() |
ResponseParser |
HttpSolrClient.getParser() |
ResponseParser |
BaseCloudSolrClient.getParser() |
ResponseParser |
LBSolrClient.getParser() |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
HttpSolrClient.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
Principal userPrincipal,
ResponseParser processor,
boolean isV2Api) |
HttpSolrClient.HttpUriRequestResponse |
HttpSolrClient.httpUriRequest(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor,
String collection) |
void |
Http2SolrClient.setParser(ResponseParser processor) |
void |
HttpSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
BaseCloudSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
LBSolrClient.setParser(ResponseParser parser)
Changes the
ResponseParser that will be used for the internal
SolrServer objects. |
void |
ConcurrentUpdateSolrClient.setParser(ResponseParser responseParser) |
B |
SolrClientBuilder.withResponseParser(ResponseParser responseParser)
Provides a
ResponseParser for created clients to use when handling requests. |
Constructor and Description |
---|
DelegationTokenHttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression,
ModifiableSolrParams invariantParams)
Deprecated.
use
DelegationTokenHttpSolrClient.DelegationTokenHttpSolrClient(HttpSolrClient.Builder) instead, as it is a more
extension/subclassing-friendly alternative |
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression)
Deprecated.
use
HttpSolrClient.HttpSolrClient(Builder) instead, as it is a more extension/subclassing-friendly alternative |
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression,
ModifiableSolrParams invariantParams)
Deprecated.
use
HttpSolrClient.HttpSolrClient(Builder) instead, as it is a more extension/subclassing-friendly alternative |
LBHttpSolrClient(org.apache.http.client.HttpClient httpClient,
ResponseParser parser,
String... solrServerUrl)
Deprecated.
use
LBHttpSolrClient.LBHttpSolrClient(Builder) instead, as it is a more extension/subclassing-friendly alternative |
Modifier and Type | Method and Description |
---|---|
ResponseParser |
V2Request.getResponseParser() |
Modifier and Type | Method and Description |
---|---|
V2Request.Builder |
V2Request.Builder.withResponseParser(ResponseParser parser) |
Modifier and Type | Class and Description |
---|---|
static class |
DelegationTokenResponse.JsonMapResponseParser
ResponseParser for JsonMaps.
|
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.