Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Cake
ElasticSearch
FilterBuilder
terms
Cake\ElasticSearch\FilterBuilder::terms PHP Method
FilterBuilder Class Documentation
Datei anzeigen
Open project: cakephp/elastic-search
terms()
public
method
### Example: {{{ $builder->terms('user.name', ['jose', 'mark']); }}}
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
public
terms
(
string
$field
,
array
$values
) :
Elastica\Filter\Terms
$field
string
The field to filter by.
$values
array
The list of terms to find in field.
return
Elastica\Filter\Terms
public function terms($field, $values) { return new Filter\Terms($field, $values); }
FilterBuilder
__call
_parseFilter
and_
between
bool
exists
geoBoundingBox
geoDistance
geoDistanceRange
geoHashCell
geoPolygon
geoShape
geoShapeIndex
gt
gte
hasChild
hasParent
ids
indices
limit
lt
lte
matchAll
missing
nested
not
or_
parse
prefix
query
range
regexp
script
term
terms
type