Class ModifyCollectionAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.ModifyCollectionAPI
-
public class ModifyCollectionAPI extends Object
V2 API for modifying collections.The new API (POST /v2/collections/collectionName {'modify-collection': {...}}) is equivalent to the v1 /admin/collections?action=MODIFYCOLLECTION command.
- See Also:
ModifyCollectionPayload
-
-
Constructor Summary
Constructors Constructor Description ModifyCollectionAPI(CollectionsHandler collectionsHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modifyCollection(PayloadObj<org.apache.solr.client.solrj.request.beans.ModifyCollectionPayload> obj)
-
-
-
Constructor Detail
-
ModifyCollectionAPI
public ModifyCollectionAPI(CollectionsHandler collectionsHandler)
-
-
Method Detail
-
modifyCollection
public void modifyCollection(PayloadObj<org.apache.solr.client.solrj.request.beans.ModifyCollectionPayload> obj) throws Exception
- Throws:
Exception
-
-