Class SchemaRequest.ReplaceFieldType

  • All Implemented Interfaces:
    Enclosing class:

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

      • ReplaceFieldType

        public ReplaceFieldType​(FieldTypeDefinition fieldTypeDefinition)
        Creates a new instance of the request.
        fieldTypeDefinition - the field type definition
        See Also:
        Solr field types