Class BaseDirectoryWrapper
Calls check index on dispose.
Implements
System.IDisposable
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)
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 |
---|---|---|
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 |
---|---|---|
Directory | to | |
System.String | src | |
System.String | dest | |
IOContext | context |
Overrides
| Improve this Doc View SourceCreateSlicer(String, IOContext)
Declaration
public override Directory.IndexInputSlicer CreateSlicer(string name, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
IOContext | context |
Returns
Type | Description |
---|---|
Directory.IndexInputSlicer |
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Implements
System.IDisposable