Class SolrCLI.DeleteTool

    • Constructor Detail

      • DeleteTool

        public DeleteTool()
      • DeleteTool

        public DeleteTool​(PrintStream stdout)
    • Method Detail

      • getName

        public String getName()
      • getOptions

        public org.apache.commons.cli.Option[] getOptions()
      • deleteCollection

        protected void deleteCollection​(org.apache.commons.cli.CommandLine cli)
                                 throws Exception
        Throws:
        Exception
      • deleteCollection

        protected void deleteCollection​(CloudSolrClient cloudSolrClient,
                                        org.apache.commons.cli.CommandLine cli)
                                 throws Exception
        Throws:
        Exception
      • deleteCore

        protected void deleteCore​(org.apache.commons.cli.CommandLine cli,
                                  org.apache.http.impl.client.CloseableHttpClient httpClient,
                                  String solrUrl)
                           throws Exception
        Throws:
        Exception