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