We found 33 matches for: query

An overview of all query blocks currently available, updated daily!

query: exists: field

checks if the given field exists in a document. Attention: Checking on a field which has > 1024 sub-fields can cause a too_many_clauses exception

Out-pins

query
query: should / or

One or all queries provided should match.

In-pins

match
Define how many queries provided need to match at minimum.
query_0
query_1

Out-pins

query
query: term: array match include

Field array must include given value.

In-pins

field
Name of the array value to search in
Boost


Default:
1.0

Out-pins

query
query: exists: custom field

checks if the given custom field exists in a document.

In-pins

field
The field to check for

Out-pins

query
references: use

Use the query which was previously defined by a define reference

Out-pins

query
range date: field > {value}

In-pins

date

Out-pins

query
range date: field between

In-pins

>=
The date thats greater or equal to the given field
<=
The date thats lower or equal to the given field

Out-pins

query
query: range: date

do range checks on date fields.

In-pins

query
boost
Number used to decrease or increase the relevance scores of a query.

Out-pins

query_out
query: geo: bounding box

In-pins

tl lat
top left lat coords
tl lon
top left long coord
br lat
bottom right lat coords
br lon
bottom right long coord

Out-pins

query
query: geo: polygon

In-pins

points
Array with lat/lon coords of the polygon points.

Out-pins

query
query: wildcard: value

checks if the given fields matches in wildcard with the given value.

In-pins

value
boost
The amount of score boosting would be applied whenever this matches.

Default:
1

Out-pins

query
query: range: field < {value}

In-pins

value

Out-pins

query
query: range: number

In-pins

query
boost
Number used to decrease or increase the relevance scores of a query.

Out-pins

query
query: range: field >= {value}

In-pins

value

Out-pins

query
query: range: field <= {value}

In-pins

value

Out-pins

query
query: range: field > {value}

In-pins

value

Out-pins

query
query: simple query string

In-pins

fields
search
operator (OR)

Out-pins

query
query: filter

Build a custom query using higher-level bool query.

In-pins

query

Out-pins

query
query: switch

Returns a query based of the given expression.

In-pins

expression
The expression to evaluate.
default
The default statement to be executed.

Out-pins

output
Returns the query matching the expression.
match
Returns true in case a match was found.
query: term: value match with one of

In-pins

value
An array of possible values to run the terms against

Out-pins

query
query: array should / or

One or all queries from array provided should match array based.

In-pins

match
Define how many queries provided need to match at minimum.
array

Out-pins

query
references: define

Store this query as reference, which can later be used by "use reference"

In-pins

query
range date: field >= {value}

In-pins

date

Out-pins

query
range date: field <= {value}

In-pins

date

Out-pins

query
range date: field < {value}

In-pins

date

Out-pins

query
query: geo: distance

checks if the given fields is within the given distance.

In-pins

field
distance
The distance we should search within, e.g. 50km
lat
lon

Out-pins

query
query: range: date format

In-pins

format

Out-pins

query
query: prefix: value

checks if the given field starts with the given value.

In-pins

value
boost
The amount of score boosting would be applied whenever this matches.

Default:
1

Out-pins

query
query: query string

In-pins

fields
search
operator (OR)
Boost


Default:
1.0

Out-pins

query
query: must

All queries provided must match.

In-pins

query

Out-pins

query
query: term: fields

In-pins

boost
The amount of score boosting would be applied whenever this matches.

Default:
1

Out-pins

query
query: must not

All queries provided must not match.

In-pins

query

Out-pins

query
query: term: fuzzy

Returns documents that contain terms similar to the search term

In-pins

value
The search value
fuzziness
Maximum edit distance allowed for matching. Allowed values are AUTO, 0, 1, 2

Default:
AUTO

Out-pins

query