public class AllDeletedFilterReader extends FilterLeafReader
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnumLeafReader.CoreClosedListenerIndexReader.ReaderClosedListenerin| Constructor and Description |
|---|
AllDeletedFilterReader(LeafReader 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, getDelegate, getDocsWithField, getFieldInfos, getNormValues, getNumericDocValues, getSortedDocValues, getSortedNumericDocValues, getSortedSetDocValues, getTermVectors, maxDoc, removeCoreClosedListener, toString, unwrapaddCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, termDocsEnum, termPositionsEnum, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRefpublic AllDeletedFilterReader(LeafReader in)
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 FilterLeafReaderpublic int numDocs()
IndexReadernumDocs in class FilterLeafReaderCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.