public class DirectXmlRequest extends SolrRequest<UpdateResponse> implements IsUpdateRequest
SolrRequest.METHODSUPPORTED_METHODS, useBinaryV2, usev2| 构造器和说明 |
|---|
DirectXmlRequest(String path,
String body) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected UpdateResponse |
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() |
void |
setParams(SolrParams params) |
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 RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequestgetContentWriter 在类中 SolrRequest<UpdateResponse>expectedType - This is the type that the RequestWriter would like to get. But, it is OK to send any formatprotected UpdateResponse createResponse(SolrClient client)
SolrRequestcreateResponse 在类中 SolrRequest<UpdateResponse>client - the SolrClient the request will be sent topublic SolrParams getParams()
getParams 在类中 SolrRequest<UpdateResponse>public void setParams(SolrParams params)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.