Class BaseDirectoryWrapper
Calls check index on dispose.
Inheritance
System.Object
Lucene.Net.Store.Directory
Lucene.Net.Store.FilterDirectory
BaseDirectoryWrapper
Implements
System.IDisposable
Inherited Members
Lucene.Net.Store.FilterDirectory.m_input
Lucene.Net.Store.FilterDirectory.Delegate
Lucene.Net.Store.FilterDirectory.ListAll()
Lucene.Net.Store.FilterDirectory.FileExists(System.String)
Lucene.Net.Store.FilterDirectory.DeleteFile(System.String)
Lucene.Net.Store.FilterDirectory.FileLength(System.String)
Lucene.Net.Store.FilterDirectory.CreateOutput(System.String, Lucene.Net.Store.IOContext)
Lucene.Net.Store.FilterDirectory.Sync(System.Collections.Generic.ICollection<System.String>)
Lucene.Net.Store.FilterDirectory.OpenInput(System.String, Lucene.Net.Store.IOContext)
Lucene.Net.Store.FilterDirectory.MakeLock(System.String)
Lucene.Net.Store.FilterDirectory.ClearLock(System.String)
Lucene.Net.Store.FilterDirectory.SetLockFactory(Lucene.Net.Store.LockFactory)
Lucene.Net.Store.FilterDirectory.GetLockID()
Lucene.Net.Store.FilterDirectory.LockFactory
Lucene.Net.Store.FilterDirectory.ToString()
Lucene.Net.Store.Directory.OpenChecksumInput(System.String, Lucene.Net.Store.IOContext)
Lucene.Net.Store.Directory.Dispose()
Lucene.Net.Store.Directory.EnsureOpen()
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)
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class BaseDirectoryWrapper : FilterDirectory, IDisposable
Constructors
| Improve this Doc View SourceBaseDirectoryWrapper(Directory)
Declaration
public BaseDirectoryWrapper(Directory delegate)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | delegate |
Properties
| Improve this Doc View SourceCheckIndexOnDispose
Set whether or not checkindex should be run on dispose
Declaration
public virtual bool CheckIndexOnDispose { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CrossCheckTermVectorsOnDispose
Declaration
public virtual bool CrossCheckTermVectorsOnDispose { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOpen
Declaration
public virtual bool IsOpen { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCopy(Directory, String, String, IOContext)
Declaration
public override void Copy(Directory to, string src, string dest, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | to | |
System.String | src | |
System.String | dest | |
Lucene.Net.Store.IOContext | context |
Overrides
Lucene.Net.Store.Directory.Copy(Lucene.Net.Store.Directory, System.String, System.String, Lucene.Net.Store.IOContext)
|
Improve this Doc
View Source
CreateSlicer(String, IOContext)
Declaration
public override Directory.IndexInputSlicer CreateSlicer(string name, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
Lucene.Net.Store.IOContext | context |
Returns
Type | Description |
---|---|
Lucene.Net.Store.Directory.IndexInputSlicer |
Overrides
Lucene.Net.Store.Directory.CreateSlicer(System.String, Lucene.Net.Store.IOContext)
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Lucene.Net.Store.FilterDirectory.Dispose(System.Boolean)
Implements
System.IDisposable