Метод |
Описание |
|
addFilter ( AbstractQuery $filter ) |
Sets the filter. |
|
addMust ( Elastica\Query\AbstractQuery | array $args ) |
Add must part to query. |
|
addMustNot ( Elastica\Query\AbstractQuery | array $args ) |
Add must not part to query. |
|
addShould ( Elastica\Query\AbstractQuery | array $args ) |
Add should part to query. |
|
setBoost ( float $boost ) |
Sets boost value of this query. |
|
setMinimumNumberShouldMatch ( integer $minimumNumberShouldMatch ) |
Set the minimum number of of should match. |
|
toArray ( ) : array |
Converts array to an object in case no queries are added. |
|