-
Notes
In order for the code bellow to work:
► Make sure to update the variables ("solrUrl
", "collectionName
", ...) with your information.
-
List Collections: CollectionAdminRequest::List
-
Create Collection: CollectionAdminRequest::Create
-
Delete Collection: CollectionAdminRequest::Delete
-
Reload Collection: CollectionAdminRequest::Reload
The "RELOAD" action is used when you have changed a configuration in ZooKeeper.