Allows to specify how inner children matching affects score of the parent. Refer to the Elasticsearch documentation for details.
Values:avgsumminmaxnone
prefixmapstring to object
<string>object
valuestringrequired
The prefix to search for.
boostnumber · format: float
An optional boost value to apply to the query.
existsobject
Matches documents that have at least one non-null value in the original field.
fieldstringrequired
The field to check for non-null values in.
rangemapstring to object
<string>object
gtobject
Greater-than
gteobject
Greater-than or equal to
ltobject
Less-than
lteobject
Less-than or equal to.
boostnumber · format: float
An optional boost value to apply to the query.
formatstring
Formatted dates will be parsed using the format specified on the date field by default, but it can be overridden by passing the format parameter.
time_zonestring
Dates can be converted from another timezone to UTC either by specifying the time zone in the date value itself (if the format accepts it), or it can be specified as the time_zone parameter.
simple_query_stringobject
A query that uses simple query string syntax. Will ignore invalid syntax.
querystringrequired
The query expressed in simple query string syntax.
fieldsstring[]
Array of fields to search
default_operatorstring
The boolean operator used to combine the terms of the query. Valid values are OR (default) and AND.
analyze_wildcardboolean
If true, the query attempts to analyze wildcard terms. Defaults to false.
analyzerstring
The name of the analyzer to use to convert the query text into tokens.
auto_generate_synonyms_phrase_queryboolean
If true, the parse creates a match_phrase uery for each multi-position token. Defaults to true.
flagsstring
List of enabled operators for the simple query string syntax. Defaults to ALL.
fuzzy_max_expansionsinteger · format: int32
Maximum number of terms to which the query expands for fuzzy matching. Defaults to 50.
fuzzy_prefix_lengthinteger · format: int32
Number of beginning characters left unchanged for fuzzy matching. Defaults to 0.
fuzzy_transpositionsboolean
If true, edits for fuzzy matching include transpositions of two adjacent characters. Defaults to false.
lenientboolean
If true, format-based errors, such as providing a text value for a numeric field are ignored. Defaults to false.
minimum_should_matchstring
Minimum number of clauses that must match for a document to be returned.
quote_field_suffixstring
Suffix appended to quoted text in the query string.
sortobject[]
An array of fields to sort the search results by. Defaults to query rank and last modified date descending.