Class FieldReader
- java.lang.Object
-
- org.apache.lucene.index.Terms
-
- org.apache.lucene.backward_codecs.lucene40.blocktree.FieldReader
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDocCount()
BytesRef
getMax()
BytesRef
getMin()
Stats
getStats()
For debugging -- used by CheckIndex toolong
getSumDocFreq()
long
getSumTotalTermFreq()
boolean
hasFreqs()
boolean
hasOffsets()
boolean
hasPayloads()
boolean
hasPositions()
TermsEnum
intersect(CompiledAutomaton compiled, BytesRef startTerm)
TermsEnum
iterator()
long
size()
String
toString()
-
-
-
Method Detail
-
getMin
public BytesRef getMin() throws IOException
- Overrides:
getMin
in classTerms
- Throws:
IOException
-
getMax
public BytesRef getMax() throws IOException
- Overrides:
getMax
in classTerms
- Throws:
IOException
-
getStats
public Stats getStats() throws IOException
For debugging -- used by CheckIndex too- Overrides:
getStats
in classTerms
- Throws:
IOException
-
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
public TermsEnum iterator() throws IOException
- Specified by:
iterator
in classTerms
- Throws:
IOException
-
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
public TermsEnum intersect(CompiledAutomaton compiled, BytesRef startTerm) throws IOException
- Overrides:
intersect
in classTerms
- Throws:
IOException
-
-