Apache Lucene.Net 2.4.0 Class Library API

Query.Rewrite Method 

Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into a BooleanQuery that consists of TermQuerys.

public virtual Query Rewrite(
   IndexReader reader
);

See Also

Query Class | Lucene.Net.Search Namespace