Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cake
ElasticSearch
FilterBuilder
type
Cake\ElasticSearch\FilterBuilder::type PHP Method
FilterBuilder Class Documentation
Show file
Open project: cakephp/elastic-search
type()
public
method
### Example: {{{ $builder->type('products'); }}}
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-filter.html
public
type
(
string
$type
) :
Elastica\Filter\Type
$type
string
The type name
return
Elastica\Filter\Type
public function type($type) { return new Filter\Type($type); }
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