Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Cake
ElasticSearch
FilterBuilder
ids
Cake\ElasticSearch\FilterBuilder::ids PHP Method
FilterBuilder Class Documentation
Mostra file
Open project: cakephp/elastic-search
ids()
public
method
Filters documents that only have the provided ids.
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-filter.html
public
ids
(
array
$ids
= [],
string
|
array
$type
= null ) :
Elastica\Filter\Ids
$ids
array
The list of ids to filter by.
$type
string
|
array
A single or multiple types in which the ids should be searched.
return
Elastica\Filter\Ids
public function ids(array $ids = [], $type = null) { return new Filter\Ids($type, $ids); }
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