Class ExamineTaxonomyReplicator
Used to replicate an index to a destination directory
public class ExamineTaxonomyReplicator : IDisposable
- Inheritance
-
ExamineTaxonomyReplicator
- Implements
- Inherited Members
Remarks
The destination directory must not have any active writers open to it.
Constructors
ExamineTaxonomyReplicator(ILoggerFactory, LuceneIndex, Directory, Directory, DirectoryInfo)
Constructor
public ExamineTaxonomyReplicator(ILoggerFactory loggerFactory, LuceneIndex sourceIndex, Directory destinationDirectory, Directory destinationTaxonomyDirectory, DirectoryInfo tempStorage)
Parameters
loggerFactory
ILoggerFactorysourceIndex
LuceneIndexdestinationDirectory
DirectorydestinationTaxonomyDirectory
DirectorytempStorage
DirectoryInfo
Methods
Dispose()
Disposes the instance
public void Dispose()
Dispose(bool)
Disposes the instance
protected virtual void Dispose(bool disposing)
Parameters
disposing
boolIf the call is coming from Dispose
ReplicateIndex()
Will sync from the active index to the destination directory
public void ReplicateIndex()
StartIndexReplicationOnSchedule(int)
Starts a thread that will replicate the index on a schedule
public void StartIndexReplicationOnSchedule(int milliseconds)
Parameters
milliseconds
intInterval