Class MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
Inheritance
System.Object
MultiTermQuery.RewriteMethod
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class RewriteMethod : object
Methods
| Improve this Doc View SourceGetTermsEnum(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
| Improve this Doc View SourceRewrite(IndexReader, MultiTermQuery)
Declaration
public abstract Query Rewrite(IndexReader reader, MultiTermQuery query)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | |
MultiTermQuery | query |
Returns
Type | Description |
---|---|
Query |