diff --git a/README.rst b/README.rst index 81c46f90..85775298 100644 --- a/README.rst +++ b/README.rst @@ -37,6 +37,8 @@ Features The library is compatible with all Elasticsearch versions since 5.x **but you have to use a matching major version:** +- For Elasticsearch 8.0 and later, use the major version 8 (8.x.y) of the library. + - For Elasticsearch 7.0 and later, use the major version 7 (7.x.y) of the library. - For Elasticsearch 6.0 and later, use the major version 6 (6.x.y) of the library. @@ -45,6 +47,9 @@ The library is compatible with all Elasticsearch versions since 5.x .. code-block:: python + # Elasticsearch 8.x + elasticsearch-dsl>=8.0.0,<9.0.0 + # Elasticsearch 7.x elasticsearch-dsl>=7.0.0,<8.0.0 diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index df7db5d5..f3b02b84 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -20,8 +20,9 @@ For example: ELASTICSEARCH_DSL={ 'default': { - 'hosts': 'localhost:9200' - }, + 'hosts': 'localhost:9200', + 'http_auth': ('username', 'password') + } } ``ELASTICSEARCH_DSL`` is then passed to ``elasticsearch-dsl-py.connections.configure`` (see here_).