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
Elastica
QueryBuilder
DSL
Query
prefix
Elastica\QueryBuilder\DSL\Query::prefix PHP Method
Query Class Documentation
Show file
Open project: ruflin/elastica
prefix()
public
method
prefix query.
See link:
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html
public
prefix
(
array
$prefix
= [] ) :
Prefix
$prefix
array
Prefix array
return
Elastica\Query\Prefix
public function prefix(array $prefix = []) { return new Prefix($prefix); }
Query
bool
boosting
common_terms
constant_score
custom_boost_factor
custom_filters_score
custom_score
dis_max
exists
field
function_score
fuzzy
fuzzy_like_this
fuzzy_like_this_field
geo_distance
geo_shape
getType
has_child
has_parent
ids
indices
match
match_all
minimum_should_match
more_like_this
multi_match
nested
percolate
prefix
query_string
range
regexp
simple_query_string
span_first
span_multi_term
span_near
span_not
span_or
span_term
template
term
terms
text
top_children
type
wildcard