Class 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 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