Class GetSchemaAPI
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.GetSchemaAPI
-
@Path("/{a:cores|collections}/{collectionName}/schema") public class GetSchemaAPI extends JerseyResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetSchemaAPI.SchemaInfoResponse
static class
GetSchemaAPI.SchemaNameResponse
static class
GetSchemaAPI.SchemaSimilarityResponse
static class
GetSchemaAPI.SchemaUniqueKeyResponse
static class
GetSchemaAPI.SchemaVersionResponse
-
Field Summary
Fields Modifier and Type Field Description protected IndexSchema
indexSchema
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description GetSchemaAPI(IndexSchema indexSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSchemaAPI.SchemaInfoResponse
getSchemaInfo()
GetSchemaAPI.SchemaNameResponse
getSchemaName()
GetSchemaAPI.SchemaSimilarityResponse
getSchemaSimilarity()
GetSchemaAPI.SchemaUniqueKeyResponse
getSchemaUniqueKey()
GetSchemaAPI.SchemaVersionResponse
getSchemaVersion()
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Field Detail
-
indexSchema
protected final IndexSchema indexSchema
-
-
Constructor Detail
-
GetSchemaAPI
@Inject public GetSchemaAPI(IndexSchema indexSchema)
-
-
Method Detail
-
getSchemaInfo
@GET @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public GetSchemaAPI.SchemaInfoResponse getSchemaInfo()
-
getSchemaName
@GET @Path("/name") @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public GetSchemaAPI.SchemaNameResponse getSchemaName() throws Exception
- Throws:
Exception
-
getSchemaSimilarity
@GET @Path("/similarity") @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public GetSchemaAPI.SchemaSimilarityResponse getSchemaSimilarity()
-
getSchemaUniqueKey
@GET @Path("/uniquekey") @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public GetSchemaAPI.SchemaUniqueKeyResponse getSchemaUniqueKey()
-
getSchemaVersion
@GET @Path("/version") @Produces({"application/json","application/xml","application/vnd.apache.solr.javabin"}) public GetSchemaAPI.SchemaVersionResponse getSchemaVersion()
-
-