public class AllDeletedFilterReader extends FilterAtomicReader
FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterTerms, FilterAtomicReader.FilterTermsEnum
AtomicReader.CoreClosedListener
IndexReader.ReaderClosedListener
in
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, unwrap
addCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, removeCoreClosedListenerAsReaderClosedListener, termDocsEnum, termPositionsEnum, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRef
public AllDeletedFilterReader(AtomicReader in)
public Bits getLiveDocs()
AtomicReader
Bits
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 FilterAtomicReader
public int numDocs()
IndexReader
numDocs
in class FilterAtomicReader
Copyright © 2000–2016 The Apache Software Foundation. All rights reserved.