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 intgetDocCount()BytesRefgetMax()BytesRefgetMin()StatsgetStats()For debugging -- used by CheckIndex toolonggetSumDocFreq()longgetSumTotalTermFreq()booleanhasFreqs()booleanhasOffsets()booleanhasPayloads()booleanhasPositions()TermsEnumintersect(CompiledAutomaton compiled, BytesRef startTerm)TermsEnumiterator()longsize()StringtoString()
-
-
-
Method Detail
-
getMin
public BytesRef getMin() throws IOException
- Overrides:
getMinin classTerms- Throws:
IOException
-
getMax
public BytesRef getMax() throws IOException
- Overrides:
getMaxin classTerms- Throws:
IOException
-
getStats
public Stats getStats() throws IOException
For debugging -- used by CheckIndex too- Overrides:
getStatsin classTerms- Throws:
IOException
-
hasOffsets
public boolean hasOffsets()
- Specified by:
hasOffsetsin classTerms
-
hasPositions
public boolean hasPositions()
- Specified by:
hasPositionsin classTerms
-
hasPayloads
public boolean hasPayloads()
- Specified by:
hasPayloadsin classTerms
-
iterator
public TermsEnum iterator() throws IOException
- Specified by:
iteratorin classTerms- Throws:
IOException
-
getSumTotalTermFreq
public long getSumTotalTermFreq()
- Specified by:
getSumTotalTermFreqin classTerms
-
getSumDocFreq
public long getSumDocFreq()
- Specified by:
getSumDocFreqin classTerms
-
getDocCount
public int getDocCount()
- Specified by:
getDocCountin classTerms
-
intersect
public TermsEnum intersect(CompiledAutomaton compiled, BytesRef startTerm) throws IOException
- Overrides:
intersectin classTerms- Throws:
IOException
-
-