|
Lines 1-17
Link Here
|
| 1 |
Elasticsearch DSL is a high-level library whose aim is to help with writing |
|
|
| 2 |
and running queries against Elasticsearch. It is built on top of the official |
| 3 |
low-level client (elasticsearch-py). |
| 4 |
|
| 5 |
It provides a more convenient and idiomatic way to write and manipulate |
| 6 |
queries. It stays close to the Elasticsearch JSON DSL, mirroring its terminology |
| 7 |
and structure. It exposes the whole range of the DSL from Python either directly |
| 8 |
using defined classes or a queryset-like expressions. |
| 9 |
|
| 10 |
It also provides an optional wrapper for working with documents as Python |
| 11 |
objects: defining mappings, retrieving and saving documents, wrapping the |
| 12 |
document data in user-defined classes. |
| 13 |
|
| 14 |
To use the other Elasticsearch APIs (eg. cluster health) just use the underlying |
| 15 |
client. |
| 16 |
|
| 17 |
WWW: https://pypi.org/project/elasticsearch-dsl/ |