Class SchemaRequest.ReplaceFieldType
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- 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.ReplaceFieldType
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.ReplaceFieldType extends SchemaRequest.Update
Replaces a field type in schema belonging to the schema of the specified collection. Note that the full definition for a field type must be supplied- this command will not partially modify a field type's definition. If the field type does not exist in the schema the method callSolrRequest.process(SolrClient, String)
will fail.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description ReplaceFieldType(FieldTypeDefinition fieldTypeDefinition)
Creates a new instance of the request.ReplaceFieldType(FieldTypeDefinition fieldTypeDefinition, SolrParams q)
-
Method Summary
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
createResponse, getContentWriter
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParams, getRequestType
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
ReplaceFieldType
public ReplaceFieldType(FieldTypeDefinition fieldTypeDefinition)
Creates a new instance of the request.- Parameters:
fieldTypeDefinition
- the field type definition- See Also:
- Solr field types
-
ReplaceFieldType
public ReplaceFieldType(FieldTypeDefinition fieldTypeDefinition, SolrParams q)
-
-