Method Rewrite
Rewrite(Query)
Expert: called to re-write queries into primitive queries.
Declaration
public virtual Query Rewrite(Query original)
Parameters
Type | Name | Description |
---|---|---|
Query | original |
Returns
Type | Description |
---|---|
Query |
Exceptions
Type | Condition |
---|---|
BooleanQuery.TooManyClausesException | If a query would exceed MaxClauseCount clauses. |