getType()
getType() : string
must return type for QueryBuilder usage.
elasticsearch query DSL.
match(string $field = null, mixed $values = null) : \Elastica\Query\Match
match query.
string | $field | |
mixed | $values |
multi_match() : \Elastica\Query\MultiMatch
multi match query.
bool() : \Elastica\Query\BoolQuery
bool query.
boosting() : \Elastica\Query\Boosting
boosting query.
common_terms(string $field, string $query, float $cutoffFrequency) : \Elastica\Query\Common
common terms query.
string | $field | |
string | $query | |
float | $cutoffFrequency | percentage in decimal form (.001 == 0.1%) |
constant_score(null|\Elastica\Filter\AbstractFilter|array $filter = null) : \Elastica\Query\ConstantScore
constant score query.
null|\Elastica\Filter\AbstractFilter|array | $filter |
dis_max() : \Elastica\Query\DisMax
dis max query.
filtered(\Elastica\Query\AbstractQuery $query = null, \Elastica\Filter\AbstractFilter $filter = null) : \Elastica\Query\Filtered
filtered query.
\Elastica\Query\AbstractQuery | $query | |
\Elastica\Filter\AbstractFilter | $filter |
fuzzy_like_this() : \Elastica\QueryBuilder\DSL\FuzzyLikeThis
fuzzy like this query.
None found |
None found |
function_score() : \Elastica\Query\FunctionScore
function score query.
None found |
fuzzy(string $fieldName = null, string $value = null) : \Elastica\Query\Fuzzy
fuzzy query.
string | $fieldName | Field name |
string | $value | String to search for |
None found |
None found |
has_child(string|\Elastica\Query|\Elastica\Query\AbstractQuery $query, string $type = null) : \Elastica\Query\HasChild
has child query.
string|\Elastica\Query|\Elastica\Query\AbstractQuery | $query | |
string | $type | Parent document type |
None found |
has_parent(string|\Elastica\Query|\Elastica\Query\AbstractQuery $query, string $type) : \Elastica\Query\HasParent
has parent query.
string|\Elastica\Query|\Elastica\Query\AbstractQuery | $query | |
string | $type | Parent document type |
None found |
ids(array|string|\Elastica\Type $type = null, array $ids = array()) : \Elastica\Query\Ids
ids query.
array|string|\Elastica\Type | $type | |
array | $ids |
None found |
None found |
match_all() : \Elastica\Query\MatchAll
match all query.
None found |
more_like_this() : \Elastica\Query\MoreLikeThis
more like this query.
None found |
None found |
nested() : \Elastica\Query\Nested
nested query.
None found |
prefix(array $prefix = array()) : \Elastica\Query\Prefix
prefix query.
array | $prefix | Prefix array |
None found |
query_string(string $queryString = '') : \Elastica\Query\QueryString
query string query.
string | $queryString | OPTIONAL Query string for object |
None found |
simple_query_string(string $query, array $fields = array()) : \Elastica\Query\SimpleQueryString
simple_query_string query.
string | $query | |
array | $fields |
None found |
range(string $fieldName = null, array $args = array()) : \Elastica\Query\Range
range query.
string | $fieldName | |
array | $args |
None found |
regexp(string $key = '', string $value = null, float $boost = 1.0) : \Elastica\Query\Regexp
regexp query.
string | $key | |
string | $value | |
float | $boost |
None found |
None found |
None found |
None found |
None found |
None found |
None found |
term(array $term = array()) : \Elastica\Query\Term
term query.
array | $term |
None found |
terms(string $key = '', array $terms = array()) : \Elastica\Query\Terms
terms query.
string | $key | |
array | $terms |
None found |
top_children(string|\Elastica\Query\AbstractQuery|\Elastica\Query $query, string $type = null) : \Elastica\Query\TopChildren
top children query.
string|\Elastica\Query\AbstractQuery|\Elastica\Query | $query | |
string | $type |
None found |
wildcard(string $key = '', string $value = null, float $boost = 1.0) : \Elastica\Query\Wildcard
wildcard query.
string | $key | OPTIONAL Wildcard key |
string | $value | OPTIONAL Wildcard value |
float | $boost | OPTIONAL Boost value (default = 1) |
None found |
None found |
None found |
None found |
geo_distance(string $key, array|string $location, string $distance) : \Elastica\Query\GeoDistance
geo distance query.
string | $key | |
array|string | $location | |
string | $distance |
None found |