Package | Description |
---|---|
org.apache.solr.core.snapshots |
Core classes for Solr's persistent snapshots functionality
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,SolrSnapshotMetaDataManager.SnapshotMetaData> |
SolrSnapshotMetaDataManager.nameToDetailsMapping
Used to map snapshot name to snapshot meta-data.
|
Modifier and Type | Method and Description |
---|---|
Optional<SolrSnapshotMetaDataManager.SnapshotMetaData> |
SolrSnapshotMetaDataManager.getSnapshotMetaData(String name)
This method returns the snapshot meta-data for the specified name (if it exists).
|
Collection<SolrSnapshotMetaDataManager.SnapshotMetaData> |
SolrSnapshotMetaDataManager.listSnapshotsInIndexDir(String indexDirPath)
This method returns a list of snapshots created in a specified index directory.
|
Optional<SolrSnapshotMetaDataManager.SnapshotMetaData> |
SolrSnapshotMetaDataManager.release(String name)
This method deletes a previously created snapshot (if any).
|
Modifier and Type | Method and Description |
---|---|
static void |
SolrSnapshotManager.deleteNonSnapshotIndexFiles(SolrCore core,
Directory dir,
Collection<SolrSnapshotMetaDataManager.SnapshotMetaData> snapshots)
This method deletes index files not associated with the specified
snapshots . |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.