public class TermVectorLeafReader extends LeafReader
LeafReader
, typically from term vectors.IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener
Constructor and Description |
---|
TermVectorLeafReader(String field,
Terms terms) |
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity() |
protected void |
doClose() |
void |
document(int docID,
StoredFieldVisitor visitor) |
BinaryDocValues |
getBinaryDocValues(String field) |
IndexReader.CacheHelper |
getCoreCacheHelper() |
FieldInfos |
getFieldInfos() |
Bits |
getLiveDocs() |
LeafMetaData |
getMetaData() |
NumericDocValues |
getNormValues(String field) |
NumericDocValues |
getNumericDocValues(String field) |
PointValues |
getPointValues(String fieldName) |
IndexReader.CacheHelper |
getReaderCacheHelper() |
SortedDocValues |
getSortedDocValues(String field) |
SortedNumericDocValues |
getSortedNumericDocValues(String field) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
int |
maxDoc() |
int |
numDocs() |
Terms |
terms(String field) |
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreq
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
protected void doClose() throws IOException
doClose
in class IndexReader
IOException
public Terms terms(String field) throws IOException
terms
in class LeafReader
IOException
public NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues
in class LeafReader
IOException
public BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues
in class LeafReader
IOException
public SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues
in class LeafReader
IOException
public SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
getSortedNumericDocValues
in class LeafReader
IOException
public SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues
in class LeafReader
IOException
public NumericDocValues getNormValues(String field) throws IOException
getNormValues
in class LeafReader
IOException
public FieldInfos getFieldInfos()
getFieldInfos
in class LeafReader
public Bits getLiveDocs()
getLiveDocs
in class LeafReader
public PointValues getPointValues(String fieldName)
getPointValues
in class LeafReader
public void checkIntegrity() throws IOException
checkIntegrity
in class LeafReader
IOException
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class IndexReader
IOException
public int numDocs()
numDocs
in class IndexReader
public int maxDoc()
maxDoc
in class IndexReader
public void document(int docID, StoredFieldVisitor visitor) throws IOException
document
in class IndexReader
IOException
public LeafMetaData getMetaData()
getMetaData
in class LeafReader
public IndexReader.CacheHelper getCoreCacheHelper()
getCoreCacheHelper
in class LeafReader
public IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper
in class IndexReader
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.