Run a search | Elasticsearch API documentation (original) (raw)

Dismiss highlight Show more






Query parameters

application/json

Body

The approximate kNN search to run.
External documentation Hide attributes Show attributes object

Filters for the kNN search query
An Elasticsearch Query DSL (Domain Specific Language) object that defines a query.
External documentation
An Elasticsearch Query DSL (Domain Specific Language) object that defines a query.

Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases.
Hide attributes Show attributes object

Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.
Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.

Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.

Responses