Skip to content

Commit cbc3e03

Browse files
fix readme note formatting
1 parent f2d41bb commit cbc3e03

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
Elasticsearch DSL
22
=================
33

4-
> [!NOTE]
5-
> As of release 9.0, Elasticsearch DSL is part of the official Elasticsearch
6-
> client for Python, so a separate install is not needed. To migrate, just
7-
> replace `elasticsearch_dsl` with `elasticsearch.dsl` in all imports.
8-
>
9-
> The following instructions apply to versions 8 and older.
4+
Deprecation notice
5+
------------------
6+
7+
As of release 8.18.0, the Elasticsearch DSL package is part of the official
8+
`Elasticsearch Python client <https://github.com/elastic/elasticsearch-py>`_,
9+
so a separate install is not needed. To migrate, uninstall the
10+
`elasticsearch-dsl` package, make sure you have `elasticsearch-py` version
11+
8.18.0 or newer installed and then just replace `elasticsearch_dsl` with
12+
`elasticsearch.dsl` in all imports.
13+
14+
The following instructions only apply to versions 8.17 and older of this
15+
package.
16+
17+
Introduction
18+
------------
1019

1120
Elasticsearch DSL is a high-level library whose aim is to help with writing and
1221
running queries against Elasticsearch. It is built on top of the official

0 commit comments

Comments
 (0)