public abstract static class MultiTermQuery.RewriteMethod extends Object
Constructor and Description |
---|
RewriteMethod() |
Modifier and Type | Method and Description |
---|---|
protected TermsEnum |
getTermsEnum(MultiTermQuery query,
Terms terms,
AttributeSource atts)
Returns the
MultiTermQuery s TermsEnum |
abstract Query |
rewrite(IndexReader reader,
MultiTermQuery query) |
public abstract Query rewrite(IndexReader reader, MultiTermQuery query) throws IOException
IOException
protected TermsEnum getTermsEnum(MultiTermQuery query, Terms terms, AttributeSource atts) throws IOException
MultiTermQuery
s TermsEnum
IOException
MultiTermQuery.getTermsEnum(Terms, AttributeSource)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.