Package org.elasticsearch.test.engine
Class ThrowingLeafReaderWrapper.ThrowingTerms
java.lang.Object
org.apache.lucene.index.Terms
org.apache.lucene.index.FilterLeafReader.FilterTerms
org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
- Enclosing class:
- ThrowingLeafReaderWrapper
Wraps a Terms but with additional asserts
-
Field Summary
Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
in
Fields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms
getDocCount, getStats, getSumDocFreq, getSumTotalTermFreq, hasFreqs, hasOffsets, hasPayloads, hasPositions, size
-
Constructor Details
-
ThrowingTerms
-
-
Method Details
-
intersect
public TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, BytesRef bytes) throws IOException - Overrides:
intersect
in classTerms
- Throws:
IOException
-
iterator
- Overrides:
iterator
in classFilterLeafReader.FilterTerms
- Throws:
IOException
-