Class SetCollectionPropertyAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.SetCollectionPropertyAPI
-
public class SetCollectionPropertyAPI extends Object
V2 API for modifying collection-level properties.This API (POST /v2/collections/collectionName {'set-collection-property': {...}}) is analogous to the v1 /admin/collections?action=COLLECTIONPROP command.
- See Also:
SetCollectionPropertyPayload
-
-
Constructor Summary
Constructors Constructor Description SetCollectionPropertyAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCollectionProperty(PayloadObj<org.apache.solr.client.solrj.request.beans.SetCollectionPropertyPayload> obj)
-
-
-
Constructor Detail
-
SetCollectionPropertyAPI
public SetCollectionPropertyAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
setCollectionProperty
public void setCollectionProperty(PayloadObj<org.apache.solr.client.solrj.request.beans.SetCollectionPropertyPayload> obj) throws Exception
- Throws:
Exception
-
-