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.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
|
Modifier and Type | Method and Description |
---|---|
ResponseParser |
LBHttpSolrClient.getParser() |
ResponseParser |
HttpSolrClient.getParser() |
ResponseParser |
CloudSolrClient.getParser() |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
HttpSolrClient.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
ResponseParser processor) |
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 |
LBHttpSolrClient.setParser(ResponseParser parser)
Changes the
ResponseParser that will be used for the internal
SolrServer objects. |
void |
HttpSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
ConcurrentUpdateSolrClient.setParser(ResponseParser responseParser) |
void |
CloudSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
LBHttpSolrClient.Builder |
LBHttpSolrClient.Builder.withResponseParser(ResponseParser responseParser)
Provides a
ResponseParser for created clients to use when handling requests. |
HttpSolrClient.Builder |
HttpSolrClient.Builder.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)
This constructor is defined at "protected" scope.
|
DelegationTokenHttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression,
String delegationToken)
Deprecated.
|
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser)
Deprecated.
use
HttpSolrClient.Builder instead. |
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression)
Deprecated.
use
HttpSolrClient.Builder instead. This will soon be a 'protected'
method, and will only be available for use in implementing subclasses. |
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser,
boolean allowCompression,
ModifiableSolrParams invariantParams)
The consturctor.
|
LBHttpSolrClient(org.apache.http.client.HttpClient httpClient,
ResponseParser parser,
String... solrServerUrl)
Deprecated.
use
LBHttpSolrClient.Builder instead. This will soon be a protected
method and will only be available for use in implementing subclasses. |
Modifier and Type | Class and Description |
---|---|
static class |
DelegationTokenResponse.JsonMapResponseParser
ResponseParser for JsonMaps.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.