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
public static class ThrowingLeafReaderWrapper.ThrowingTerms
extends org.apache.lucene.index.FilterLeafReader.FilterTerms
Wraps a Terms but with additional asserts
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ThrowingTerms(org.apache.lucene.index.Terms in, ThrowingLeafReaderWrapper.Thrower thrower)
-
Method Summary
-
Constructor Details
-
Method Details
-
intersect
public org.apache.lucene.index.TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, org.apache.lucene.util.BytesRef bytes) throws java.io.IOException- Overrides:
intersect
in classorg.apache.lucene.index.Terms
- Throws:
java.io.IOException
-
iterator
public org.apache.lucene.index.TermsEnum iterator() throws java.io.IOException- Overrides:
iterator
in classorg.apache.lucene.index.FilterLeafReader.FilterTerms
- Throws:
java.io.IOException
-