private static class PKIndexSplitter.DocumentFilteredLeafIndexReader extends FilterCodecReader
LeafReader.CoreClosedListenerIndexReader.ReaderClosedListener| Modifier and Type | Field and Description |
|---|---|
(package private) Bits |
liveDocs |
(package private) int |
numDocs |
indocsWithFieldLocal, docValuesLocal, normsLocal| Constructor and Description |
|---|
DocumentFilteredLeafIndexReader(LeafReaderContext context,
Weight preserveWeight,
boolean negateFilter) |
| Modifier and Type | Method and Description |
|---|---|
Bits |
getLiveDocs()
Returns the
Bits representing live (not
deleted) docs. |
int |
numDocs()
Returns the number of documents in this index.
|
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, tryIncReffinal Bits liveDocs
final int numDocs
public DocumentFilteredLeafIndexReader(LeafReaderContext context, Weight preserveWeight, boolean negateFilter) throws java.io.IOException
java.io.IOExceptionpublic int numDocs()
IndexReadernumDocs in class FilterCodecReaderpublic 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