Class MergeState.DocMap
Remaps docids around deletes during merge
Inheritance
System.Object
MergeState.DocMap
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public abstract class DocMap : object
Properties
| Improve this Doc View SourceHasDeletions
Returns true
if there are any deletions.
Declaration
public virtual bool HasDeletions { get; }
Property Value
Type | Description |
---|---|
System. |
MaxDoc
Returns the total number of documents, ignoring deletions.
Declaration
public abstract int MaxDoc { get; }
Property Value
Type | Description |
---|---|
System. |
NumDeletedDocs
Returns the number of deleted documents.
Declaration
public abstract int NumDeletedDocs { get; }
Property Value
Type | Description |
---|---|
System. |
NumDocs
Returns the number of not-deleted documents.
Declaration
public int NumDocs { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceBuild(AtomicReader)
Creates a Merge
Declaration
public static MergeState.DocMap Build(AtomicReader reader)
Parameters
Type | Name | Description |
---|---|---|
Atomic |
reader |
Returns
Type | Description |
---|---|
Merge |
Get(Int32)
Returns the mapped docID corresponding to the provided one.
Declaration
public abstract int Get(int docID)
Parameters
Type | Name | Description |
---|---|---|
System. |
docID |
Returns
Type | Description |
---|---|
System. |