private static final class MergeState.NoDelDocMap extends MergeState.DocMap
Modifier and Type | Field and Description |
---|---|
private int |
maxDoc |
Constructor and Description |
---|
NoDelDocMap(int maxDoc) |
Modifier and Type | Method and Description |
---|---|
int |
get(int docID)
Returns the mapped docID corresponding to the provided one.
|
int |
maxDoc()
Returns the total number of documents, ignoring
deletions.
|
int |
numDeletedDocs()
Returns the number of deleted documents.
|
build, build, hasDeletions, numDocs
public int get(int docID)
MergeState.DocMap
get
in class MergeState.DocMap
public int maxDoc()
MergeState.DocMap
maxDoc
in class MergeState.DocMap
public int numDeletedDocs()
MergeState.DocMap
numDeletedDocs
in class MergeState.DocMap