• Home
  • LLMs
  • Docker
  • Kubernetes
  • Java
  • Python
  • Ubuntu
  • Maven
  • Archived
  • About
Apache Solr | SolrJ: CollectionAdminRequest API
  1. Notes
  2. List Collections: CollectionAdminRequest::List
  3. Create Collection: CollectionAdminRequest::Create
  4. Delete Collection: CollectionAdminRequest::Delete
  5. Reload Collection: CollectionAdminRequest::Reload

  1. Notes
    In order for the code bellow to work:

    ► Make sure to update the variables ("solrUrl", "collectionName", ...) with your information.
  2. List Collections: CollectionAdminRequest::List
  3. Create Collection: CollectionAdminRequest::Create
  4. Delete Collection: CollectionAdminRequest::Delete
  5. Reload Collection: CollectionAdminRequest::Reload
    The "RELOAD" action is used when you have changed a configuration in ZooKeeper.
© 2025  mtitek