Apache Lucene.Net 2.4.0 Class Library API

DisjunctionMaxQuery.Rewrite Method 

Optimize our representation and our subqueries representations

public override Query Rewrite(
   IndexReader reader
);

Parameters

reader
the IndexReader we query

Return Value

an optimized copy of us (which may not be a copy if there is nothing to optimize)

See Also

DisjunctionMaxQuery Class | Lucene.Net.Search Namespace