File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
- toc : reference
6
6
subs :
7
7
es : " Elasticsearch"
8
+ version : " 9.0.0-alpha.1"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ The Elasticsearch Rust client is forward compatible; meaning that the client sup
31
31
32
32
## Create a client [ _ create_a_client]
33
33
34
- To create a client to make API calls to Elasticsearch running on ` \ https://localhost:9200`
34
+ To create a client to make API calls to Elasticsearch running on ` https://localhost:9200 `
35
35
36
36
``` rust
37
37
let client = Elasticsearch :: default ();
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ mapped_pages:
7
7
8
8
Add ` elasticsearch ` crate and version to Cargo.toml. Choose the version that is compatible with the version of {{es}} you are using:
9
9
10
- ``` toml
10
+ ``` toml subs=true
11
11
[dependencies ]
12
- elasticsearch = " 8.7.0-alpha.1 "
12
+ elasticsearch = " {{version}} "
13
13
```
14
14
15
15
The following * optional* dependencies may also be useful to create requests and read responses:
16
16
17
17
``` toml
18
- serde = " ~ 1"
19
- serde_json = " ~ 1"
18
+ serde = " 1"
19
+ serde_json = " 1"
20
20
```
21
21
You can’t perform that action at this time.
0 commit comments