Note As of release 8.18.0, the Elasticsearch DSL package is part of the official Elasticsearch Python client, so a separate install is not needed anymore. To migrate, follow these steps: Uninstall the elasticsearch-dsl package Make sure you have version 8.18.0 or newer of the elasticsearch package installed Replace elasticsearch_dsl with elasticsearch.dsl in your imports To prevent applications fr