Method Rewrite
Rewrite(IndexReader)
Optimize our representation and our subqueries representations
Declaration
public override Query Rewrite(IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader | The IndexReader we query |
Returns
Type | Description |
---|---|
Query | An optimized copy of us (which may not be a copy if there is nothing to optimize) |