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
prefix
Cake\ElasticSearch\FilterBuilder::prefix PHP Method
FilterBuilder Class Documentation
Datei anzeigen
Open project: cakephp/elastic-search
prefix()
public
method
Returns a Prefix filter to filter documents that have fields containing terms with a specified prefix
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-filter.html
public
prefix
(
string
$field
,
string
$prefix
) :
Elastica\Filter\Prefix
$field
string
The field to filter by.
$prefix
string
The prefix to check for.
return
Elastica\Filter\Prefix
public function prefix($field, $prefix) { return new Filter\Prefix($field, $prefix); }
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