Skip to content

Commit e6e2f02

Browse files
committed
Update README
1 parent bcade94 commit e6e2f02

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ The following are a list of Cargo features that can be enabled or disabled:
3030
API might have breaking changes in any future version, or it might even be removed entirely. This feature also
3131
enables `beta-apis`.
3232

33+
Additionally, this library also runs in Web Assembly runtimes that provide the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), like node.js and web browsers.
34+
3335
## Getting started
3436

3537
The client exposes all Elasticsearch APIs as associated functions, either on
3638
the root client, `Elasticsearch`, or on one of the _namespaced clients_, such as `Cat`, `Indices`, etc. The _namespaced clients_
37-
are based on the grouping of APIs within the [Elasticsearch](https://github.com/elastic/elasticsearch/tree/main/rest-api-spec) and [X-Pack](https://github.com/elastic/elasticsearch/tree/main/x-pack/plugin/src/test/resources/rest-api-spec/api) REST API specs from which much of the client is generated.
39+
are based on the grouping of APIs within the [Elasticsearch](https://github.com/elastic/elasticsearch/tree/main/rest-api-spec) REST API specs from which much of the client is generated.
3840
All API functions are `async` only, and can be `await`ed.
3941

4042
### Installing
@@ -159,6 +161,8 @@ fn main() -> Result<(), Error> {
159161
}
160162
```
161163

164+
You can also configure the list of nodes of an Elasticsearch cluster using the `MultiNodeConnectionPool`, and the client will do a round-robin load balancing among those nodes. It can also periodically re-seed the list of nodes by querying the cluster.
165+
162166
### Making API calls
163167

164168
The following will execute a `POST` request to `/_search?allow_no_indices=true` with

0 commit comments

Comments
 (0)