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