Cake\ElasticSearch\FilterBuilder::range PHP Method

range() public method

The $args array accepts the following keys: - gte: greater than or equal - gt: greater than - lte: less than or equal - lt: less than
See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html
public range ( string $field, array $args ) : Elastica\Filter\Range
$field string The field to filter by.
$args array An array describing the search range
return Elastica\Filter\Range
    public function range($field, array $args)
    {
        return new Filter\Range($field, $args);
    }