Class SchemaRequest.AddField

All Implemented Interfaces:
Serializable
Enclosing class:
SchemaRequest

public static class SchemaRequest.AddField extends SchemaRequest.Update
Adds a new field definition to the schema. If the field already exists, the method SolrRequest.process(SolrClient, String) will fail. Note that the request will be translated to json, so please use concrete values (e.g. : true, 1) instead of their string representation (e.g. : "true", "1") for the field attributes expecting boolean or number values.
See Also: