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.
|
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 |
CloudSolrClient.getParser() |
ResponseParser |
HttpSolrClient.getParser() |
ResponseParser |
LBHttpSolrClient.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 |
CloudSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
HttpSolrClient.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
LBHttpSolrClient.setParser(ResponseParser parser)
Changes the
ResponseParser that will be used for the internal
SolrServer objects. |
void |
ConcurrentUpdateSolrClient.setParser(ResponseParser responseParser) |
Constructor and Description |
---|
HttpSolrClient(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser) |
HttpSolrServer(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser)
Deprecated.
|
LBHttpSolrClient(org.apache.http.client.HttpClient httpClient,
ResponseParser parser,
String... solrServerUrl)
The provided httpClient should use a multi-threaded connection manager
|
LBHttpSolrServer(org.apache.http.client.HttpClient httpClient,
ResponseParser parser,
String... solrServerUrl)
Deprecated.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.