org.apache.lucene.search
Class MultiTermQuery.RewriteMethod
java.lang.Object
org.apache.lucene.search.MultiTermQuery.RewriteMethod
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MultiTermQuery.ConstantScoreAutoRewrite, ScoringRewrite, SpanMultiTermQueryWrapper.SpanRewriteMethod, TopTermsRewrite
- Enclosing class:
- MultiTermQuery
public abstract static class MultiTermQuery.RewriteMethod
- extends Object
- implements Serializable
Abstract class that defines how the query is rewritten.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiTermQuery.RewriteMethod
public MultiTermQuery.RewriteMethod()
rewrite
public abstract Query rewrite(IndexReader reader,
MultiTermQuery query)
throws IOException
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.