Class IndexAndTaxonomyRevision
A IRevision of a single index and taxonomy index files which comprises
the list of files from both indexes. This revision should be used whenever a
pair of search and taxonomy indexes need to be replicated together to
guarantee consistency of both on the replicating (client) side.
Inheritance
System.Object
IndexAndTaxonomyRevision
Assembly: Lucene.Net.Replicator.dll
Syntax
public class IndexAndTaxonomyRevision : object, IRevision, IComparable<IRevision>
Remarks
Constructors
|
Improve this Doc
View Source
IndexAndTaxonomyRevision(IndexWriter, IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter)
Declaration
public IndexAndTaxonomyRevision(IndexWriter indexWriter, IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter taxonomyWriter)
Parameters
Fields
|
Improve this Doc
View Source
INDEX_SOURCE
Declaration
public const string INDEX_SOURCE = null
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
TAXONOMY_SOURCE
Declaration
public const string TAXONOMY_SOURCE = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
SourceFiles
Declaration
public virtual IDictionary<string, IList<RevisionFile>> SourceFiles { get; }
Property Value
Type |
Description |
IDictionary<System.String, IList<RevisionFile>> |
|
|
Improve this Doc
View Source
Version
Declaration
public virtual string Version { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CompareTo(IRevision)
Declaration
public virtual int CompareTo(IRevision other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CompareTo(String)
Declaration
public virtual int CompareTo(string version)
Parameters
Type |
Name |
Description |
System.String |
version |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Open(String, String)
Declaration
public virtual Stream Open(string source, string fileName)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.String |
fileName |
|
Returns
|
Improve this Doc
View Source
Release()
Declaration
public virtual void Release()
|
Improve this Doc
View Source
RevisionFiles(IndexCommit, IndexCommit)
Returns a map of the revision files from the given IndexCommits of the search and taxonomy indexes.
Declaration
public static IDictionary<string, IList<RevisionFile>> RevisionFiles(IndexCommit indexCommit, IndexCommit taxonomyCommit)
Parameters
Returns
Type |
Description |
IDictionary<System.String, IList<RevisionFile>> |
|
|
Improve this Doc
View Source
RevisionVersion(IndexCommit, IndexCommit)
Returns a representation of a revision's version from the given
IndexCommits of the search and taxonomy indexes.
Declaration
public static string RevisionVersion(IndexCommit indexCommit, IndexCommit taxonomyCommit)
Parameters
Returns
Type |
Description |
System.String |
a representation of a revision's version from the given IndexCommits of the search and taxonomy indexes.
|
Implements
IComparable<>
See Also