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
Assembly: Lucene.Net.Replicator.dll
Syntax
public class IndexAndTaxonomyRevision : object, IRevision, IComparable<IRevision>
Remarks
@lucene.experimental
Constructors
Name | Description |
---|---|
IndexAndTaxonomyRevision(IndexWriter, IndexAndTaxonomyRevision.SnapshotDirectoryTaxonomyWriter) | Constructor over the given IndexWriter. Uses the last IndexCommit found in the Directory managed by the given writer. |
Fields
Name | Description |
---|---|
INDEX_SOURCE | |
TAXONOMY_SOURCE |
Properties
Name | Description |
---|---|
SourceFiles | |
Version |
Methods
Name | Description |
---|---|
CompareTo(IRevision) | |
CompareTo(String) | Compares this IndexAndTaxonomyRevision to the given Lucene.Net.Replicator.IndexAndTaxonomyRevision.version. |
Open(String, String) | |
Release() | |
RevisionFiles(IndexCommit, IndexCommit) | Returns a map of the revision files from the given IndexCommits of the search and taxonomy indexes. |
RevisionVersion(IndexCommit, IndexCommit) | Returns a |