Class 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 call SolrRequest.process(SolrClient, String) will fail.
See Also:
  • Constructor Details

    • 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)
  • Method Details