Class FieldReader
java.lang.Object
org.apache.lucene.index.Terms
org.apache.lucene.backward_codecs.lucene40.blocktree.FieldReader
BlockTree's implementation of
Terms
.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
Fields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY
-
Method Summary
-
Method Details
-
getMin
- Overrides:
getMin
in classTerms
- Throws:
IOException
-
getMax
- Overrides:
getMax
in classTerms
- Throws:
IOException
-
getStats
For debugging -- used by CheckIndex too- Overrides:
getStats
in classTerms
- Throws:
IOException
-
hasFreqs
public boolean hasFreqs() -
hasOffsets
public boolean hasOffsets()- Specified by:
hasOffsets
in classTerms
-
hasPositions
public boolean hasPositions()- Specified by:
hasPositions
in classTerms
-
hasPayloads
public boolean hasPayloads()- Specified by:
hasPayloads
in classTerms
-
iterator
- Specified by:
iterator
in classTerms
- Throws:
IOException
-
size
public long size() -
getSumTotalTermFreq
public long getSumTotalTermFreq()- Specified by:
getSumTotalTermFreq
in classTerms
-
getSumDocFreq
public long getSumDocFreq()- Specified by:
getSumDocFreq
in classTerms
-
getDocCount
public int getDocCount()- Specified by:
getDocCount
in classTerms
-
intersect
- Overrides:
intersect
in classTerms
- Throws:
IOException
-
toString
-