Skip to content

Commit 4f5703d

Browse files
fix readme note formatting
1 parent f2d41bb commit 4f5703d

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

README

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
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, follow these steps:
10+
11+
- Uninstall the ``elasticsearch-dsl`` package
12+
- Make sure you have version 8.18.0 or newer of the ``elasticsearch`` package
13+
installed
14+
- Replace ``elasticsearch_dsl`` with ``elasticsearch.dsl`` in your imports (the
15+
underscore of the legacy package name should be replaced with a period).
16+
17+
The following instructions only apply to versions 8.17 and older of this
18+
package.
19+
20+
Introduction
21+
------------
1022

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

0 commit comments

Comments
 (0)