public class GenericSolrRequest extends SolrRequest<SimpleSolrResponse>
SolrRequest.METHOD| 限定符和类型 | 字段和说明 |
|---|---|
RequestWriter.ContentWriter |
contentWriter |
SolrParams |
params |
SimpleSolrResponse |
response |
SUPPORTED_METHODS, useBinaryV2, usev2| 构造器和说明 |
|---|
GenericSolrRequest(SolrRequest.METHOD m,
String path,
SolrParams params) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected SimpleSolrResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
SolrParams |
getParams() |
GenericSolrRequest |
setContentWriter(RequestWriter.ContentWriter contentWriter) |
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2public SolrParams params
public SimpleSolrResponse response
public RequestWriter.ContentWriter contentWriter
public GenericSolrRequest(SolrRequest.METHOD m, String path, SolrParams params)
public GenericSolrRequest setContentWriter(RequestWriter.ContentWriter contentWriter)
public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequestgetContentWriter 在类中 SolrRequest<SimpleSolrResponse>expectedType - This is the type that the RequestWriter would like to get. But, it is OK to send any formatpublic SolrParams getParams()
getParams 在类中 SolrRequest<SimpleSolrResponse>protected SimpleSolrResponse createResponse(SolrClient client)
SolrRequestcreateResponse 在类中 SolrRequest<SimpleSolrResponse>client - the SolrClient the request will be sent toCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.