Skip to content

Current documentation on using keepAlive #1698

@tao

Description

@tao

I can't seem to figure out if I should or how I should use keepAlive when creating the Client.

I found lots of bugs and old issues mentioning it, and lots of results for keepAlive when searching in the legacy client (https://github.com/elastic/elasticsearch-js-legacy/search?q=keepAlive). However, I don't see any mention of using it now (or no longer needing to use it in the migration guide) and when I search this repository.

I don't see it being used in the proxy example either but I'm worried about not setting up my cClient correctly without it and overloading my self-hosted ElasticSearch cluster.

Can you provide guidance or improve the documentation on when and how to use keepAlive or if it is no longer necessary to specify it when creating the Client?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions