IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Installation

edit

Add elasticsearch crate and version to Cargo.toml. Choose the version that is compatible with the version of Elasticsearch you are using:

[dependencies]
elasticsearch = "8.7.0-alpha.1"

The following optional dependencies may also be useful to create requests and read responses:

serde = "~1"
serde_json = "~1"