Package org.apache.lucene.search.spans
Class SpanMultiTermQueryWrapper.SpanRewriteMethod
- java.lang.Object
-
- org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
-
- Direct Known Subclasses:
SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
- Enclosing class:
- SpanMultiTermQueryWrapper<Q extends MultiTermQuery>
public abstract static class SpanMultiTermQueryWrapper.SpanRewriteMethod extends MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
-
-
Constructor Summary
Constructors Constructor Description SpanRewriteMethod()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SpanQuery
rewrite(IndexReader reader, MultiTermQuery query)
-
-
-
Method Detail
-
rewrite
public abstract SpanQuery rewrite(IndexReader reader, MultiTermQuery query) throws java.io.IOException
- Specified by:
rewrite
in classMultiTermQuery.RewriteMethod
- Throws:
java.io.IOException
-
-