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 |
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 |
HttpSolrServer.parser
Default response parser is BinaryResponseParser
This parser represents the default Response Parser chosen to parse the
response if the parser were not specified as part of the request.
|
Modifier and Type | Method and Description |
---|---|
ResponseParser |
LBHttpSolrServer.getParser() |
ResponseParser |
HttpSolrServer.getParser() |
ResponseParser |
CloudSolrServer.getParser() |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
HttpSolrServer.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
ResponseParser processor) |
HttpSolrServer.HttpUriRequestResponse |
HttpSolrServer.httpUriRequest(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrServer.request(SolrRequest request,
ResponseParser processor) |
void |
LBHttpSolrServer.setParser(ResponseParser parser) |
void |
HttpSolrServer.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
void |
ConcurrentUpdateSolrServer.setParser(ResponseParser responseParser) |
void |
CloudSolrServer.setParser(ResponseParser processor)
Note: This setter method is not thread-safe.
|
Constructor and Description |
---|
HttpSolrServer(String baseURL,
org.apache.http.client.HttpClient client,
ResponseParser parser) |
LBHttpSolrServer(org.apache.http.client.HttpClient httpClient,
ResponseParser parser,
String... solrServerUrl)
The provided httpClient should use a multi-threaded connection manager
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.