Package org.apache.lucene.search
Class MultiTermQuery.RewriteMethod
- java.lang.Object
-
- org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- Direct Known Subclasses:
DocTermOrdsRewriteMethod
,FieldCacheRewriteMethod
,MultiTermQuery.ConstantScoreAutoRewrite
,ScoringRewrite
,SpanMultiTermQueryWrapper.SpanRewriteMethod
,TopTermsRewrite
- Enclosing class:
- MultiTermQuery
public abstract static class MultiTermQuery.RewriteMethod extends java.lang.Object
Abstract class that defines how the query is rewritten.
-
-
Constructor Summary
Constructors Constructor Description RewriteMethod()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Query
rewrite(IndexReader reader, MultiTermQuery query)
-
-
-
Method Detail
-
rewrite
public abstract Query rewrite(IndexReader reader, MultiTermQuery query) throws java.io.IOException
- Throws:
java.io.IOException
-
-