Cake\ElasticSearch\FilterBuilder::term PHP Method

term() public method

### Example: {{{ $builder->term('user.name', 'jose'); }}}
See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html
public term ( string $field, string $value ) : Elastica\Filter\Term
$field string The field to filter by.
$value string The term to find in field.
return Elastica\Filter\Term
    public function term($field, $value)
    {
        return new Filter\Term([$field => $value]);
    }