Class SnapShooter


  • public class SnapShooter
    extends Object

    Provides functionality equivalent to the snapshooter script

    This is no longer used in standard replication.
    Since:
    solr 1.4
    • Constructor Detail

      • SnapShooter

        @Deprecated
        public SnapShooter​(org.apache.solr.core.SolrCore core,
                           String location,
                           String snapshotName)
        Deprecated.
    • Method Detail

      • getBackupRepository

        public org.apache.solr.core.backup.repository.BackupRepository getBackupRepository()
      • getLocation

        public URI getLocation()
        Gets the parent directory of the snapshots. This is the location given in the constructor.
      • createSnapshot

        public org.apache.solr.common.util.NamedList createSnapshot()
                                                             throws Exception
        Throws:
        Exception