Class SnapshotDeleteTool

  • All Implemented Interfaces:
    Tool

    public class SnapshotDeleteTool
    extends ToolBase
    Supports snapshot-delete command in the bin/solr script.
    • Constructor Detail

      • SnapshotDeleteTool

        public SnapshotDeleteTool()
      • SnapshotDeleteTool

        public SnapshotDeleteTool​(PrintStream stdout)
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Tool
        Defines the interface to a Solr tool that can be run from this command-line app.
      • getOptions

        public List<org.apache.commons.cli.Option> getOptions()
      • deleteSnapshot

        public void deleteSnapshot​(org.apache.solr.client.solrj.SolrClient solrClient,
                                   String collectionName,
                                   String snapshotName)