Class SchemaNameAPI
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.SchemaNameAPI
-
@Path("/collections/{collectionName}/schema/name") public class SchemaNameAPI extends JerseyResource
V2 API for checking the name of an in-use schema.This API (GET /v2/collections/collectionName/schema/name) is analogous to the v1 /solr/collectionName/schema/name API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaNameAPI.GetSchemaNameResponse
Response forSchemaNameAPI
.
-
Field Summary
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description SchemaNameAPI(SolrCore solrCore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaNameAPI.GetSchemaNameResponse
getSchemaName()
-
Methods inherited from class org.apache.solr.api.JerseyResource
instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
SchemaNameAPI
@Inject public SchemaNameAPI(SolrCore solrCore)
-
-
Method Detail
-
getSchemaName
@GET @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public SchemaNameAPI.GetSchemaNameResponse getSchemaName() throws Exception
- Throws:
Exception
-
-