Class IndexRevision
Inheritance
System.Object
IndexRevision
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)
Assembly: Lucene.Net.Replicator.dll
Syntax
public class IndexRevision : IRevision, IComparable<IRevision>
Constructors
|
Improve this Doc
View Source
IndexRevision(IndexWriter)
Declaration
public IndexRevision(IndexWriter writer)
Parameters
Properties
|
Improve this Doc
View Source
SourceFiles
Declaration
public virtual IDictionary<string, IList<RevisionFile>> SourceFiles { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.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
Type |
Description |
System.IO.Stream |
|
|
Improve this Doc
View Source
Release()
Declaration
public virtual void Release()
|
Improve this Doc
View Source
RevisionFiles(IndexCommit)
Returns a singleton map of the revision files from the given IndexCommit.
Declaration
public static IDictionary<string, IList<RevisionFile>> RevisionFiles(IndexCommit commit)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IList<RevisionFile>> |
|
|
Improve this Doc
View Source
RevisionVersion(IndexCommit)
Returns a string representation of a revision's version from the given
IndexCommit
Declaration
public static string RevisionVersion(IndexCommit commit)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.IComparable<T>