Sets the rewrite method to be used when executing the query. You can use one of the four core methods, or implement your own subclass of {@link RewriteMethod}.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetRewriteMethod(
	MultiTermQuery..::..RewriteMethod method
)
Visual Basic
Public Overridable Sub SetRewriteMethod ( _
	method As MultiTermQuery..::..RewriteMethod _
)
Visual C++
public:
virtual void SetRewriteMethod(
	MultiTermQuery..::..RewriteMethod^ method
)

Parameters

method
Type: Lucene.Net.Search..::..MultiTermQuery..::..RewriteMethod

[Missing <param name="method"/> documentation for "M:Lucene.Net.Search.MultiTermQuery.SetRewriteMethod(Lucene.Net.Search.MultiTermQuery.RewriteMethod)"]

See Also