static final class WeightedSpanTermExtractor.DelegatingLeafReader extends FilterLeafReader
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnum
LeafReader.CoreClosedListener
IndexReader.ReaderClosedListener
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
FIELD_NAME |
in
Constructor and Description |
---|
DelegatingLeafReader(LeafReader in) |
Modifier and Type | Method and Description |
---|---|
Fields |
fields()
Returns
Fields for this reader. |
BinaryDocValues |
getBinaryDocValues(java.lang.String field)
Returns
BinaryDocValues for this field, or
null if no BinaryDocValues were indexed for
this field. |
Bits |
getDocsWithField(java.lang.String field)
Returns a
Bits at the size of reader.maxDoc() ,
with turned on bits for each docid that does have a value for this field,
or null if no DocValues were indexed for this field. |
FieldInfos |
getFieldInfos()
Get the
FieldInfos describing all fields in
this reader. |
NumericDocValues |
getNormValues(java.lang.String field)
Returns
NumericDocValues representing norms
for this field, or null if no NumericDocValues
were indexed. |
NumericDocValues |
getNumericDocValues(java.lang.String field)
Returns
NumericDocValues for this field, or
null if no NumericDocValues were indexed for
this field. |
SortedDocValues |
getSortedDocValues(java.lang.String field)
Returns
SortedDocValues for this field, or
null if no SortedDocValues were indexed for
this field. |
addCoreClosedListener, checkIntegrity, doClose, document, getDelegate, getLiveDocs, getPointValues, getSortedNumericDocValues, getSortedSetDocValues, getTermVectors, maxDoc, numDocs, removeCoreClosedListener, toString, unwrap
addCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRef
private static final java.lang.String FIELD_NAME
DelegatingLeafReader(LeafReader in)
public FieldInfos getFieldInfos()
LeafReader
FieldInfos
describing all fields in
this reader.getFieldInfos
in class FilterLeafReader
public Fields fields() throws java.io.IOException
LeafReader
Fields
for this reader.
This method will not return null.fields
in class FilterLeafReader
java.io.IOException
public NumericDocValues getNumericDocValues(java.lang.String field) throws java.io.IOException
LeafReader
NumericDocValues
for this field, or
null if no NumericDocValues
were indexed for
this field. The returned instance should only be
used by a single thread.getNumericDocValues
in class FilterLeafReader
java.io.IOException
public BinaryDocValues getBinaryDocValues(java.lang.String field) throws java.io.IOException
LeafReader
BinaryDocValues
for this field, or
null if no BinaryDocValues
were indexed for
this field. The returned instance should only be
used by a single thread.getBinaryDocValues
in class FilterLeafReader
java.io.IOException
public SortedDocValues getSortedDocValues(java.lang.String field) throws java.io.IOException
LeafReader
SortedDocValues
for this field, or
null if no SortedDocValues
were indexed for
this field. The returned instance should only be
used by a single thread.getSortedDocValues
in class FilterLeafReader
java.io.IOException
public NumericDocValues getNormValues(java.lang.String field) throws java.io.IOException
LeafReader
NumericDocValues
representing norms
for this field, or null if no NumericDocValues
were indexed. The returned instance should only be
used by a single thread.getNormValues
in class FilterLeafReader
java.io.IOException
public Bits getDocsWithField(java.lang.String field) throws java.io.IOException
LeafReader
Bits
at the size of reader.maxDoc()
,
with turned on bits for each docid that does have a value for this field,
or null if no DocValues were indexed for this field. The
returned instance should only be used by a single threadgetDocsWithField
in class FilterLeafReader
java.io.IOException