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) |