Class CheckAbort
Class for recording units of work when merging segments.
Inheritance
System.Object
CheckAbort
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class CheckAbort : object
Constructors
| Improve this Doc View SourceCheckAbort(MergePolicy.OneMerge, Directory)
Creates a Check
Declaration
public CheckAbort(MergePolicy.OneMerge merge, Directory dir)
Parameters
Type | Name | Description |
---|---|---|
Merge |
merge | |
Directory | dir |
Fields
| Improve this Doc View SourceNONE
If you use this: IW.Dispose(false) cannot abort your merge!
This is a Lucene.NET INTERNAL API, use at your own risk
Declaration
public static readonly CheckAbort NONE
Field Value
Type | Description |
---|---|
Check |
Methods
| Improve this Doc View SourceWork(Double)
Records the fact that roughly units amount of work
have been done since this method was last called.
When adding time-consuming code into Lucene.
Declaration
public virtual void Work(double units)
Parameters
Type | Name | Description |
---|---|---|
System. |
units |