Class MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
Inheritance
MultiTermQuery.RewriteMethod
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class MultiTermQuery.RewriteMethod
Methods
GetTermsEnum(MultiTermQuery, Terms, AttributeSource)
Returns the MultiTermQuerys TermsEnum
Declaration
protected virtual TermsEnum GetTermsEnum(MultiTermQuery query, Terms terms, AttributeSource atts)
Parameters
Type | Name | Description |
---|---|---|
MultiTermQuery | query | |
Terms | terms | |
AttributeSource | atts |
Returns
Type | Description |
---|---|
TermsEnum |
See Also
Rewrite(IndexReader, MultiTermQuery)
Abstract class that defines how the query is rewritten.
Declaration
public abstract Query Rewrite(IndexReader reader, MultiTermQuery query)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | |
MultiTermQuery | query |
Returns
Type | Description |
---|---|
Query |