Package org.ametys.cms.indexing.solr
Class UpdateCorePropertyRequest
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
org.ametys.cms.indexing.solr.UpdateCorePropertyRequest
- All Implemented Interfaces:
Serializable
public class UpdateCorePropertyRequest
extends org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
SolrRequest
to update the value of a core property- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
org.apache.solr.client.solrj.SolrRequest.METHOD, org.apache.solr.client.solrj.SolrRequest.SolrClientContext, org.apache.solr.client.solrj.SolrRequest.SolrRequestType
-
Field Summary
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.solr.client.solrj.response.SolrResponseBase
createResponse
(org.apache.solr.client.solrj.SolrClient client) Collection<org.apache.solr.common.util.ContentStream>
org.apache.solr.common.params.SolrParams
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
Constructor Details
-
UpdateCorePropertyRequest
Default constructor- Parameters:
key
- The property key to updatevalue
- The new value to set
-
-
Method Details
-
getParams
- Specified by:
getParams
in classorg.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
-
getContentStreams
- Overrides:
getContentStreams
in classorg.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
- Throws:
IOException
-
createResponse
protected org.apache.solr.client.solrj.response.SolrResponseBase createResponse(org.apache.solr.client.solrj.SolrClient client) - Specified by:
createResponse
in classorg.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
-
getRequestType
- Specified by:
getRequestType
in classorg.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
-