public class GenericSolrRequest extends SolrRequest<SimpleSolrResponse>
SolrRequest.METHOD| Modifier and Type | Field and Description |
|---|---|
SolrParams |
params |
SimpleSolrResponse |
response |
| Constructor and Description |
|---|
GenericSolrRequest(SolrRequest.METHOD m,
String path,
SolrParams params) |
| Modifier and Type | Method and Description |
|---|---|
protected SimpleSolrResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
Collection<ContentStream> |
getContentStreams() |
SolrParams |
getParams() |
void |
setContentStreams(Collection<ContentStream> streams) |
getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallbackpublic SolrParams params
public SimpleSolrResponse response
public GenericSolrRequest(SolrRequest.METHOD m, String path, SolrParams params)
public void setContentStreams(Collection<ContentStream> streams)
public SolrParams getParams()
getParams in class SolrRequest<SimpleSolrResponse>public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams in class SolrRequest<SimpleSolrResponse>IOExceptionprotected SimpleSolrResponse createResponse(SolrClient client)
SolrRequestcreateResponse in class SolrRequest<SimpleSolrResponse>client - the SolrClient the request will be sent toCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.