Releases: elastic/elasticsearch-dsl-py
Releases · elastic/elasticsearch-dsl-py
8.13.1
- Added support for
knnas a query option (#1770) - Made the
dimsattribute of the dense vector type optional (#1776) - Added missing
inner_hitsoption tosearch.knn()method (#1777) - Added support for detecting document updates in
InnerDocattributes (#1535) - Changed
_expand__to_dotsetting to resolve at runtime (#1633) - Added explicit error message when unsupported
minimum_should_matchvalues are used (#1774) - Added the
EmptySearchclass (#1780) - Added several missing aggregations:
- Added
paramsoption to theFacetedSearchobject (#1500) - Added support for passing a dictionary in the
scriptoption for a document update (#1560) - Added
keys()anditems()methods toAttrDictclass (#1784) - Added a
to_list()method to theAttrListclass (#1584) - Fixed various documentation issues and typos (#1769, #1615, #1585, #1318, #1223)
- Added a vector search example (#1778)
8.13.0
8.12.0
8.11.0
8.9.0
- 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
MultiTermsaggregation (#1543, contributed by @Telomeraz) - Added the
CombinedFieldsquery (#1557, contributed by @Telomeraz)
8.9.0a1
- 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
MultiTermsaggregation (#1543, contributed by @Telomeraz) - Added the
CombinedFieldsquery (#1557, contributed by @Telomeraz)
7.4.1
- Fixed
DeprecationWarningsthat would be emitted from deprecated usages of thebodyparameter in the Python Elasticsearch client.
7.4.0
Added
- Added the
ConstantKeyword,RankFeaturesfield types (#1456, #1465) - Added the
ScriptScorequery type (#1464) - Added
UpdateByQueryResponse.success()method (#1463) - Added
return_doc_metaparameter toDocument.save()andDocument.update()for
accessing the complete API response (#1466) - Added support for
calendar_intervalandfixed_intervaltoDateHistogramFacet(#1467) - Added
Document.exists()method (#1447, contributed by @dem4ply) - Added support for the
yearinterval toDateHistogramFacet(#1502, contributed by @nrsimha)
Fixed
- Fixed issue where
to_dict()should be called recursively onSearch.extrasand**kwargs(#1458) - Fixed inverse of an empty
Boolquery should beMatchNone(#1459) - Fixed issue between
retry_on_conflictand optimistic concurrency control withinDocument.update()(#1461, contributed by @armando1793)
7.3.0
Added
- Added
Intervals,MatchBoolPrefix,Shape, andWrapperqueries (#1392, #1418) - Added
Boxplot,RareTerms,VariableWidthHistogram,MedianAbsoluteDeviation,
TTest,CumulativeCardinality,Inference,MovingPercentiles,
andNormalizeaggregations (#1416, #1418) - Added
__all__and removed all star imports fromelasticsearch_dslnamespace
to avoid leaking unintended names (#1390)
Fixed
- Fixed an issue where
ObjectandNestedcould mutate the inner
doc_classmapping (#1255, contributed by @l1nd3r0th) - Fixed a typo in query
SpanContaining, previously wasSpanContainining(#1418)