Skip to content

Releases: elastic/elasticsearch-dsl-py

8.13.1

30 Apr 15:35
v8.13.1
ab70d6f
Compare
Choose a tag to compare
  • Added support for knn as a query option (#1770)
  • Made the dims attribute of the dense vector type optional (#1776)
  • Added missing inner_hits option to search.knn() method (#1777)
  • Added support for detecting document updates in InnerDoc attributes (#1535)
  • Changed _expand__to_dot setting to resolve at runtime (#1633)
  • Added explicit error message when unsupported minimum_should_match values are used (#1774)
  • Added the EmptySearch class (#1780)
  • Added several missing aggregations:
  • Added params option to the FacetedSearch object (#1500)
  • Added support for passing a dictionary in the script option for a document update (#1560)
  • Added keys() and items() methods to AttrDict class (#1784)
  • Added a to_list() method to the AttrList class (#1584)
  • Fixed various documentation issues and typos (#1769, #1615, #1585, #1318, #1223)
  • Added a vector search example (#1778)

8.13.0

03 Apr 11:43
v8.13.0
b317744
Compare
Choose a tag to compare
  • Added asyncio support (#1714)
  • Dropped support for Python 3.7 (#1717)
  • Stopped mixing body and parameters in UpdateByQuery (#1702)

8.12.0

19 Jan 11:13
v8.12.0
e3ed750
Compare
Choose a tag to compare
  • Added Search.knn() method (#1691)
  • Added Search.rank() method (undocumented as it still is in technical preview) (#1692)
  • Fixed importing collapse from dictionary (#1689)

8.11.0

13 Nov 11:56
v8.11.0
ecf2e15
Compare
Choose a tag to compare
  • Added support for Python 3.12 (#1680)
  • Added Search.collapse() (#1649, contributed by @qcoumes)

8.9.0

07 Sep 09:38
v8.9.0
ec99c85
Compare
Choose a tag to compare
  • Added Elasticsearch 8.x support (#1664)
  • Dropped support for Python 2.7 and 3.5 (#1606, contributed by @hugovk)
  • Added support for Python 3.10 and 3.11 (#1608, contributed by @hugovk)
  • Added the MultiTerms aggregation (#1543, contributed by @Telomeraz)
  • Added the CombinedFields query (#1557, contributed by @Telomeraz)

8.9.0a1

29 Aug 16:40
v8.9.0a1
6290e91
Compare
Choose a tag to compare
8.9.0a1 Pre-release
Pre-release
  • Added Elasticsearch 8.x support (#1664)
  • Dropped support for Python 2.7 and 3.5 (#1606, contributed by @hugovk)
  • Added support for Python 3.10 and 3.11 (#1608, contributed by @hugovk)
  • Added the MultiTerms aggregation (#1543, contributed by @Telomeraz)
  • Added the CombinedFields query (#1557, contributed by @Telomeraz)

7.4.1

01 Mar 21:00
Compare
Choose a tag to compare
  • Fixed DeprecationWarnings that would be emitted from deprecated usages of the body parameter in the Python Elasticsearch client.

7.4.0

15 Jul 15:37
de791f6
Compare
Choose a tag to compare

Added

  • Added the ConstantKeyword, RankFeatures field types (#1456, #1465)
  • Added the ScriptScore query type (#1464)
  • Added UpdateByQueryResponse.success() method (#1463)
  • Added return_doc_meta parameter to Document.save() and Document.update() for
    accessing the complete API response (#1466)
  • Added support for calendar_interval and fixed_interval to DateHistogramFacet (#1467)
  • Added Document.exists() method (#1447, contributed by @dem4ply)
  • Added support for the year interval to DateHistogramFacet (#1502, contributed by @nrsimha)

Fixed

  • Fixed issue where to_dict() should be called recursively on Search.extras and **kwargs (#1458)
  • Fixed inverse of an empty Bool query should be MatchNone (#1459)
  • Fixed issue between retry_on_conflict and optimistic concurrency control within Document.update() (#1461, contributed by @armando1793)

7.3.0

17 Sep 13:45
8bfbdfb
Compare
Choose a tag to compare

Added

  • Added Intervals, MatchBoolPrefix, Shape, and Wrapper queries (#1392, #1418)
  • Added Boxplot, RareTerms, VariableWidthHistogram, MedianAbsoluteDeviation,
    TTest, CumulativeCardinality, Inference, MovingPercentiles,
    and Normalize aggregations (#1416, #1418)
  • Added __all__ and removed all star imports from elasticsearch_dsl namespace
    to avoid leaking unintended names (#1390)

Fixed

  • Fixed an issue where Object and Nested could mutate the inner
    doc_class mapping (#1255, contributed by @l1nd3r0th)
  • Fixed a typo in query SpanContaining, previously was SpanContainining (#1418)