Class MultiTermQuery.RewriteMethod
Abstract class that defines how the query is rewritten.
Inheritance
System.Object
MultiTermQuery.RewriteMethod
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class RewriteMethod
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 |