org.apache.lucene.search.spans
Class SpanMultiTermQueryWrapper.SpanRewriteMethod
java.lang.Object
org.apache.lucene.search.MultiTermQuery.RewriteMethod
org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
- All Implemented Interfaces:
- Serializable
- 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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpanMultiTermQueryWrapper.SpanRewriteMethod
public SpanMultiTermQueryWrapper.SpanRewriteMethod()
rewrite
public abstract SpanQuery rewrite(IndexReader reader,
MultiTermQuery query)
throws IOException
- Specified by:
rewrite
in class MultiTermQuery.RewriteMethod
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.