Responses
-
200 application/json
Hide response attribute Show response attribute object
-
Hide policies attribute Show policies attribute object
-
Hide config attributes Show config attributes object
-
Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.
-
query object
Hide query attributes Show query attributes object
-
fuzzy object
Returns documents that contain terms similar to the search term, as measured by a Levenshtein edit distance.
-
intervals object
Returns documents based on the order and proximity of matching terms.
-
match object
Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching.
-
match_bool_prefix object
Analyzes its input and constructs a
bool
query from the terms. Each term except the last is used in aterm
query. The last term is used in a prefix query. -
match_phrase object
Analyzes the text and creates a phrase query out of the analyzed text.
-
match_phrase_prefix object
Returns documents that contain the words of a provided text, in the same order as provided. The last term of the provided text is treated as a prefix, matching any words that begin with that term.
-
prefix object
Returns documents that contain a specific prefix in a provided field.
-
range object
Returns documents that contain terms within a provided range.
-
regexp object
Returns documents that contain terms matching a regular expression.
-
span_term object
Matches spans containing a term.
-
term object
Returns documents that contain an exact term in a provided field. To return a document, the query term must exactly match the queried field's value, including whitespace and capitalization.
-
terms_set object
Returns documents that contain a minimum number of exact terms in a provided field. To return a document, a required number of terms must exactly match the field values, including whitespace and capitalization.
-
Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a sparse vector or rank features field.
-
Supports returning text_expansion query results by sending in precomputed tokens with the query.
-
wildcard object
Returns documents that contain terms matching a wildcard pattern.
-
name string
-
elasticsearch_version string
-
-
curl \
-X GET http://api.example.com/_enrich/policy