public class AllDeletedFilterReader extends FilterAtomicReader
FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterTerms, FilterAtomicReader.FilterTermsEnumAtomicReader.CoreClosedListenerIndexReader.ReaderClosedListenerin| Constructor and Description |
|---|
AllDeletedFilterReader(AtomicReader in) |
| 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, checkIntegrity, doClose, document, fields, getBinaryDocValues, getDocsWithField, getFieldInfos, getNormValues, getNumericDocValues, getSortedDocValues, getSortedNumericDocValues, getSortedSetDocValues, getTermVectors, maxDoc, removeCoreClosedListener, toString, unwrapaddCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, removeCoreClosedListenerAsReaderClosedListener, termDocsEnum, termPositionsEnum, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRefpublic AllDeletedFilterReader(AtomicReader in)
public Bits getLiveDocs()
AtomicReaderBits 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 FilterAtomicReaderpublic int numDocs()
IndexReadernumDocs in class FilterAtomicReaderCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.