DotLucene 1.4 API Documentation |

# QueryParser.GetBooleanQuery Method

Factory method for generating query, given a set of clauses. By default creates a boolean query composed of clauses passed in. Can be overridden by extending classes, to modify query being returned.

protected internal virtual Query GetBooleanQuery(
ArrayList clauses
);

#### Parameters

clauses
  Vector that contains {@link BooleanClause} instances to join.

#### Return Value

Resulting {@link Query} object.

#### Exceptions

Exception Type | Condition
--- | ---
| ParseException throw in overridden method to disallow

#### See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace