Class SchemaRequest.DeleteField
- 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.DeleteField
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.DeleteField extends SchemaRequest.Update
Removes a field definition from the schema. If the field does not exist in the schema, or if the field is the source or destination of a copy field rule 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
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description DeleteField(String fieldName)
Creates a new instance of the request.DeleteField(String fieldName, 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
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
DeleteField
public DeleteField(String fieldName)
Creates a new instance of the request.- Parameters:
fieldName
- the name of the new field to be removed
-
DeleteField
public DeleteField(String fieldName, SolrParams q)
-
-