|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.index.MergeState.DocMap
public abstract static class MergeState.DocMap
Remaps docids around deletes during merge
Method Summary | |
---|---|
static MergeState.DocMap |
build(AtomicReader reader)
Creates a MergeState.DocMap instance appropriate for
this reader. |
abstract int |
get(int docID)
Returns the mapped docID corresponding to the provided one. |
boolean |
hasDeletions()
Returns true if there are any deletions. |
abstract int |
maxDoc()
Returns the total number of documents, ignoring deletions. |
abstract int |
numDeletedDocs()
Returns the number of deleted documents. |
int |
numDocs()
Returns the number of not-deleted documents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract int get(int docID)
public abstract int maxDoc()
public final int numDocs()
public abstract int numDeletedDocs()
public boolean hasDeletions()
public static MergeState.DocMap build(AtomicReader reader)
MergeState.DocMap
instance appropriate for
this reader.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |