Class SchemaRequest.ReplaceDynamicField
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
org.apache.solr.client.solrj.request.schema.SchemaRequest.ReplaceDynamicField
- All Implemented Interfaces:
Serializable
- Enclosing class:
SchemaRequest
Replaces a dynamic field rule in the schema of the specified collection. Note that the full
definition for a dynamic field rule must be supplied - this command will not partially modify a
dynamic field rule's definition. If the dynamic field rule does not exist in the schema the
method call
SolrRequest.process(SolrClient, String) will fail.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType -
Field Summary
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS -
Constructor Summary
ConstructorsConstructorDescriptionReplaceDynamicField(Map<String, Object> dynamicFieldAttributes) Creates a new instance of the request.ReplaceDynamicField(Map<String, Object> dynamicFieldAttributes, SolrParams q) -
Method Summary
Methods inherited from class org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
createResponse, getContentWriterMethods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParamsMethods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollectionMethods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Constructor Details
-
ReplaceDynamicField
Creates a new instance of the request.- Parameters:
dynamicFieldAttributes- field type attributes that can be used to enrich the field definition.- See Also:
-
ReplaceDynamicField
-
-
Method Details
-
getRequestParameters
- Specified by:
getRequestParametersin classSchemaRequest.Update
-