Class IndexAndTaxonomyReplicationHandler
A IReplicationHandler for replication of an index and taxonomy pair.
See IReplicationHandler for more detail. This handler ensures
that the search and taxonomy indexes are replicated in a consistent way.
Inheritance
System.Object
IndexAndTaxonomyReplicationHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.Replicator.dll
Syntax
public class IndexAndTaxonomyReplicationHandler : IReplicationHandler
Remarks
Constructors
|
Improve this Doc
View Source
IndexAndTaxonomyReplicationHandler(Directory, Directory, Func<Nullable<Boolean>>)
Constructor with the given index directory and callback to notify when the indexes were updated.
Declaration
public IndexAndTaxonomyReplicationHandler(Directory indexDirectory, Directory taxonomyDirectory, Func<bool?> callback)
Parameters
Type |
Name |
Description |
Lucene.Net.Store.Directory |
indexDirectory |
|
Lucene.Net.Store.Directory |
taxonomyDirectory |
|
System.Func<System.Nullable<System.Boolean>> |
callback |
|
Exceptions
Type |
Condition |
System.IO.IOException |
|
Fields
|
Improve this Doc
View Source
INFO_STREAM_COMPONENT
The component used to log messages to the Default Lucene.Net.Util.InfoStream.
Declaration
public const string INFO_STREAM_COMPONENT = "IndexAndTaxonomyReplicationHandler"
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
CurrentRevisionFiles
Declaration
public virtual IDictionary<string, IList<RevisionFile>> CurrentRevisionFiles { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<RevisionFile>> |
|
|
Improve this Doc
View Source
CurrentVersion
Declaration
public virtual string CurrentVersion { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InfoStream
Gets or sets the Lucene.Net.Util.InfoStream to use for logging messages.
Declaration
public virtual InfoStream InfoStream { get; set; }
Property Value
Type |
Description |
Lucene.Net.Util.InfoStream |
|
Methods
|
Improve this Doc
View Source
RevisionReady(String, IDictionary<String, IList<RevisionFile>>, IDictionary<String, IList<String>>, IDictionary<String, Directory>)
Declaration
public virtual void RevisionReady(string version, IDictionary<string, IList<RevisionFile>> revisionFiles, IDictionary<string, IList<string>> copiedFiles, IDictionary<string, Directory> sourceDirectory)
Parameters
Type |
Name |
Description |
System.String |
version |
|
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<RevisionFile>> |
revisionFiles |
|
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<System.String>> |
copiedFiles |
|
System.Collections.Generic.IDictionary<System.String, Lucene.Net.Store.Directory> |
sourceDirectory |
|
Implements
See Also