Method |
Description |
|
__construct ( array $body = [] ) |
Constructor. |
|
__toString ( ) : string |
|
|
aggregation ( Aggregation $aggregation ) |
|
|
between ( $field, $start, $end ) |
|
|
betweenOrEquals ( $field, $start, $end ) |
|
|
build ( ) : array |
Build query. |
|
fields ( mixed $fields = false ) |
Set _source to search query. |
|
filter ( Filter | array $filter = [], string $mode = Filter::MODE_INCLUDE ) |
|
|
from ( integer $from ) |
|
|
getOnlyIds ( ) |
Return only _id. |
|
greaterThan ( $field, $start ) |
|
|
greaterThanOrEquals ( $field, $start ) |
|
|
gt ( $field, $start ) |
|
|
gte ( $field, $start ) |
|
|
hasSort ( ) : boolean |
|
|
lessThan ( $field, $end ) |
|
|
lessThanOrEquals ( $field, $end ) |
|
|
lt ( $field, $start ) |
|
|
lte ( $field, $start ) |
|
|
match ( $field, $value ) |
|
|
notMatch ( $field, $value ) |
|
|
notWhere ( $field, $value ) |
|
|
orMatch ( $field, $value ) |
|
|
orWhere ( $field, $value ) |
|
|
range ( $field, $start, $end ) |
|
|
size ( integer $size ) |
|
|
sort ( array | string $sort ) |
|
|
toJson ( integer $options ) : string |
|
|
where ( $field, $value ) |
|
|