Class SchemaRequest

  • All Implemented Interfaces:
    Serializable

    public class SchemaRequest
    extends AbstractSchemaRequest<SchemaResponse>

    This class offers access to the operations exposed by the Solr Schema API.

    Most of the operations of this class offer a very abstract interface avoiding in this manner eventual changes due to Solr Schema API updates. On the other hand, the creation of request parameters for creating new fields or field types can be tedious because it is not strongly typed (the user has to build on his own a NamedList argument containing the field/field type properties).

    The class does not currently offer explicit support for the Schema API operations exposed through Managed Resources, but such operations can be built with little effort manually based on this class within the client applications.

    This class is experimental and it is subject to change.

    Since:
    solr 5.3
    See Also:
    Solr Schema API, Solr managed resources, Serialized Form