private static final class MultiPassIndexSplitter.FakeDeleteIndexReader extends BaseCompositeReader<MultiPassIndexSplitter.FakeDeleteLeafIndexReader>
IndexReader.ReaderClosedListener
Constructor and Description |
---|
FakeDeleteIndexReader(IndexReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
deleteDocument(int docID) |
protected void |
doClose()
Implements close.
|
private static MultiPassIndexSplitter.FakeDeleteLeafIndexReader[] |
initSubReaders(IndexReader reader) |
void |
undeleteAll() |
docFreq, document, getDocCount, getSequentialSubReaders, getSumDocFreq, getSumTotalTermFreq, getTermVectors, maxDoc, numDocs, readerBase, readerIndex, totalTermFreq
getContext, toString
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRef
public FakeDeleteIndexReader(IndexReader reader) throws java.io.IOException
java.io.IOException
private static MultiPassIndexSplitter.FakeDeleteLeafIndexReader[] initSubReaders(IndexReader reader) throws java.io.IOException
java.io.IOException
public void deleteDocument(int docID)
public void undeleteAll()
protected void doClose()
IndexReader
doClose
in class IndexReader