Elasticsearch 7.00.*

edit

The current version of the client supports the Elasticsearch 8 and 7.

If you need to talk to a version of Elasticsearch 7, please use Search::Elasticsearch::Client::7_00::Direct as follows:

    $es = Search::Elasticsearch->new(
        client => '7_00::Direct'
    );