private static final class MultiPassIndexSplitter.FakeDeleteLeafIndexReader extends FilterCodecReader
LeafReader.CoreClosedListenerIndexReader.ReaderClosedListener| Modifier and Type | Field and Description |
|---|---|
(package private) FixedBitSet |
liveDocs |
indocsWithFieldLocal, docValuesLocal, normsLocal| Constructor and Description |
|---|
FakeDeleteLeafIndexReader(CodecReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDocument(int n) |
Bits |
getLiveDocs()
Returns the
Bits representing live (not
deleted) docs. |
int |
numDocs()
Returns the number of documents in this index.
|
void |
undeleteAll() |
addCoreClosedListener, getDocValuesReader, getFieldInfos, getFieldsReader, getNormsReader, getPointsReader, getPointValues, getPostingsReader, getTermVectorsReader, maxDoc, removeCoreClosedListenercheckIntegrity, doClose, document, fields, getBinaryDocValues, getChildResources, getDocsWithField, getNormValues, getNumericDocValues, getSortedDocValues, getSortedNumericDocValues, getSortedSetDocValues, getTermVectors, ramBytesUsedaddCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRefFixedBitSet liveDocs
public FakeDeleteLeafIndexReader(CodecReader reader)
public int numDocs()
IndexReadernumDocs in class FilterCodecReaderpublic void undeleteAll()
public void deleteDocument(int n)
public Bits getLiveDocs()
LeafReaderBits representing live (not
deleted) docs. A set bit indicates the doc ID has not
been deleted. If this method returns null it means
there are no deleted documents (all documents are
live).
The returned instance has been safely published for
use by multiple threads without additional
synchronization.getLiveDocs in class FilterCodecReader