Cake\ElasticSearch\FilterBuilder::lt PHP Method

lt() public method

Returns a Range filter object setup to filter documents having the field smaller than the provided value.
See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html
public lt ( string $field, mixed $value ) : Elastica\Filter\Range
$field string The field to filter by.
$value mixed The value to compare with.
return Elastica\Filter\Range
    public function lt($field, $value)
    {
        return $this->range($field, ['lt' => $value]);
    }