Elasticsearch-dsl

Latest version: v8.17.1

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

7.2.0

------------------

* Added support for ``geotile_grid`` aggregation (`1350`_, contributed by `owrcasstevens`_)
* Added the ``DenseVector`` and ``SparseVector`` data types (`1278`_)
* Added the ``SearchAsYouType`` field (`1295`_, contributed by `dpasqualin`_)
* Fixed name of ``DoubleRange`` (`1272`_, contributed by `braunsonm`_)

.. _braunsonm: https://github.com/braunsonm
.. _dpasqualin: https://github.com/dpasqualin
.. _owrcasstevens: https://github.com/owrcasstevens
.. _1272: https://github.com/elastic/elasticsearch-dsl-py/pull/1272
.. _1278: https://github.com/elastic/elasticsearch-dsl-py/issues/1278
.. _1295: https://github.com/elastic/elasticsearch-dsl-py/pull/1295
.. _1350: https://github.com/elastic/elasticsearch-dsl-py/pull/1350

7.1.0

------------------

* Optimistic concurrent control for Document.delete
* Removing deprecated ``DocType``
* Proper count caching for ES 7.x
* Support for ``multiplexer`` token filter
* Don't substitute for ``__`` in ``FacetedSearch``

7.0.0

------------------

* Compatibility with Elasticsearch 7.x
* ``Document.save()`` now returns ``"created"`` or ``"updated"``
* Dropped support for Python 2.6, 3.2, and 3.3
* When using ``fields`` the values are no longer merged into the body of the
document and have to be accessed via ``.meta.fields`` only

6.4.0

------------------

* ``Index.document`` now correctly sets the ``Document``'s ``_index`` only when
using default index (``1091``)
* ``Document`` inheritance allows overriding ``Object`` and ``Nested`` field metadata like ``dynamic``
* adding ``auto_date_histogram`` aggregation
* Do not change data in place when (de)serializing

6.3.1

------------------

* ``Analyzer.simulate`` now supports built-in analyzers
* proper (de)serialization of the ``Range`` wrapper
* Added ``search_analyzer`` to ``Completion`` field

6.3.0

------------------

* Fixed logic around defining a different ``doc_type`` name.
* Added ``retry_on_conflict`` parameter to ``Document.update``.
* fields defined on an index are now used to (de)serialize the data even when
not defined on a ``Document``
* Allow ``Index.analyzer`` to construct the analyzer
* Detect conflict in analyzer definitions when calling ``Index.analyzer``
* Detect conflicting mappings when creating an index
* Add ``simulate`` method to ``analyzer`` object to test the analyzer using the
``_analyze`` API.
* Add ``script`` and ``script_id`` options to ``Document.update``
* ``Facet`` can now use other metric than ``doc_count``
* ``Range`` objects to help with storing and working with ``_range`` fields
* Improved behavior of ``Index.save`` where it does a better job when index
already exists
* Composite aggregations now correctly support multiple ``sources`` aggs
* ``UpdateByQuery`` implemented by emarcey

Page 4 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.