Changelog History
Page 1
-
v7.4.0 Changes
July 15, 2021- Added the
ConstantKeyword
,RankFeatures
field types (#1456
,#1465
) - ➕ Added the
ScriptScore
query type (#1464
_) - ➕ Added
UpdateByQueryResponse.success()
method (#1463
_) - Added
return_doc_meta
parameter toDocument.save()
andDocument.update()
for accessing the complete API response (#1466
_) - 🛠 Added support for
calendar_interval
andfixed_interval
toDateHistogramFacet
(#1467
_) - Added
Document.exists()
method (#1447
, contributed by@dem4ply
) - Added support for the
year
interval toDateHistogramFacet
(#1502
, contributed by@nrsimha
) - Fixed issue where
to_dict()
should be called recursively onSearch.extras
and**kwargs
(#1458
_) - 🛠 Fixed inverse of an empty
Bool
query should beMatchNone
(#1459
_) - Fixed issue between
retry_on_conflict
and optimistic concurrency control withinDocument.update()
(#1461
, contributed by@armando1793
)
.. _@dem4ply: https://github.com/dem4ply .. _@nrsimha: https://github.com/nrsimha .. _@armando1793: https://github.com/armando1793 .. _#1447: https://github.com/elastic/elasticsearch-dsl-py/pull/1447 .. _#1456: https://github.com/elastic/elasticsearch-dsl-py/pull/1456 .. _#1458: https://github.com/elastic/elasticsearch-dsl-py/pull/1458 .. _#1459: https://github.com/elastic/elasticsearch-dsl-py/pull/1459 .. _#1461: https://github.com/elastic/elasticsearch-dsl-py/pull/1461 .. _#1463: https://github.com/elastic/elasticsearch-dsl-py/pull/1463 .. _#1464: https://github.com/elastic/elasticsearch-dsl-py/pull/1464 .. _#1465: https://github.com/elastic/elasticsearch-dsl-py/pull/1465 .. _#1466: https://github.com/elastic/elasticsearch-dsl-py/pull/1466 .. _#1467: https://github.com/elastic/elasticsearch-dsl-py/pull/1467 .. _#1502: https://github.com/elastic/elasticsearch-dsl-py/pull/1502
- Added the
-
v7.3.0 Changes
September 16, 2020- Added
Intervals
,MatchBoolPrefix
,Shape
, andWrapper
queries (#1392
,#1418
) - ➕ Added
Boxplot
,RareTerms
,VariableWidthHistogram
,MedianAbsoluteDeviation
,TTest
,CumulativeCardinality
,Inference
,MovingPercentiles
, andNormalize
aggregations (#1416
,#1418
) - Added
__all__
and removed all star imports fromelasticsearch_dsl
namespace to avoid leaking unintended names (#1390
_) - 🛠 Fixed an issue where
Object
andNested
could mutate the innerdoc_class
mapping (#1255
, contributed by@l1nd3r0th
) - 🛠 Fixed a typo in query
SpanContaining
, previously wasSpanContainining
(#1418
_)
.. _@l1nd3r0th: https://github.com/l1nd3r0th .. _#1255: https://github.com/elastic/elasticsearch-dsl-py/pull/1255 .. _#1390: https://github.com/elastic/elasticsearch-dsl-py/pull/1390 .. _#1392: https://github.com/elastic/elasticsearch-dsl-py/pull/1392 .. _#1416: https://github.com/elastic/elasticsearch-dsl-py/pull/1416 .. _#1418: https://github.com/elastic/elasticsearch-dsl-py/pull/1418
- Added
-
v7.2.1 Changes
June 02, 2020- 🛠 Fixed issue when slicing a Search that would result in a negative
size
instead of asize
of 0. (#1360
, contributed by@bk-equityzen
)
.. _@bk-equityzen: https://github.com/bk-equityzen .. _#1360: https://github.com/elastic/elasticsearch-dsl-py/pull/1360
- 🛠 Fixed issue when slicing a Search that would result in a negative
-
v7.2.0 Changes
May 04, 2020- Added support for
geotile_grid
aggregation (#1350
, contributed by@owrcasstevens
) - ➕ Added the
DenseVector
andSparseVector
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
- Added support for
-
v7.1.0 Changes
October 23, 2019- 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
__
inFacetedSearch
-
v7.0.0 Changes
April 26, 2019- 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
-
v6.4.0 Changes
April 26, 2019Index.document
now correctly sets theDocument
's_index
only when using default index (#1091
)- 📇
Document
inheritance allows overridingObject
andNested
field metadata likedynamic
- adding
auto_date_histogram
aggregation - Do not change data in place when (de)serializing
-
v6.3.1 Changes
December 05, 2018- 👍
Analyzer.simulate
now supports built-in analyzers - proper (de)serialization of the
Range
wrapper - ➕ Added
search_analyzer
toCompletion
field
- 👍
-
v6.3.0 Changes
November 21, 2018- 🛠 Fixed logic around defining a different
doc_type
name. - Added
retry_on_conflict
parameter toDocument.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 toanalyzer
object to test the analyzer using the_analyze
API. - ➕ Add
script
andscript_id
options toDocument.update
Facet
can now use other metric thandoc_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
implementated by @emarcey
- 🛠 Fixed logic around defining a different
-
v6.2.1 Changes
July 03, 2018- 👍 allow users to redefine
doc_type
inIndex
(#929
) - include
DocType
inelasticsearch_dsl
module directly (#930
)
- 👍 allow users to redefine