Class SchemaVersionAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.SchemaVersionAPI
-
public class SchemaVersionAPI extends Object
V2 API for getting the version of an in-use schema.This API (GET /v2/collections/collectionName/schema/version) is analogous to the v1 /solr/collectionName/schema/version API.
-
-
Constructor Summary
Constructors Constructor Description SchemaVersionAPI(SchemaHandler schemaHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getSchemaVersion(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
SchemaVersionAPI
public SchemaVersionAPI(SchemaHandler schemaHandler)
-
-
Method Detail
-
getSchemaVersion
public void getSchemaVersion(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-