$_params
$_params : array
Params.
Query Builder.
This function can be used to handle params for queries, filter
bool() : $this
Bool Query.
A query that matches documents matching boolean combinations of other queries.
The bool query maps to Lucene BooleanQuery.
It is built using one or more boolean clauses, each clause with a typed occurrence.
The occurrence types are: must, should, must_not.
defaultOperator(string $operator = 'OR') : $this
The default operator used if no explicit operator is specified.
For example, with a default operator of OR, the query "capital of Hungary" is translated to "capital OR of OR Hungary", and with default operator of AND, the same query is translated to "capital AND of AND Hungary".
string | $operator | Defaults to OR. |
fieldClose() : $this
Close a field block.
Alias of close() for ease of reading in source. Passed parameters will be ignored, however they can be useful in source for seeing which field is being closed.
Builder::factory() ->query() ->range() ->fieldOpen('created') ->gte('2011-07-18 00:00:00') ->lt('2011-07-19 00:00:00') ->fieldClose('created') ->rangeClose() ->queryClose();