diff --git a/cubicweb_elasticsearch/__pkginfo__.py b/cubicweb_elasticsearch/__pkginfo__.py
index c971479078cbcbc5347fea869f15a524aa796701_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9fX3BrZ2luZm9fXy5weQ==..0d670a8ad890cadaa5a9e04b07c74f13ccba8733_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9fX3BrZ2luZm9fXy5weQ== 100644
--- a/cubicweb_elasticsearch/__pkginfo__.py
+++ b/cubicweb_elasticsearch/__pkginfo__.py
@@ -15,8 +15,8 @@
 
 __depends__ = {'cubicweb': '>= 3.24.0', 'six': '>= 1.4.0',
                'cwtags': None,
-               'elasticsearch': '>=2.0.0,<3.0.0',
-               'elasticsearch-dsl': '<5.0.0',
+               'elasticsearch': '>=6.0.0',
+               'elasticsearch-dsl': '>=6.0.0',
                'beautifulsoup4': None,
                }
 
diff --git a/cubicweb_elasticsearch/ccplugin.py b/cubicweb_elasticsearch/ccplugin.py
index c971479078cbcbc5347fea869f15a524aa796701_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9jY3BsdWdpbi5weQ==..0d670a8ad890cadaa5a9e04b07c74f13ccba8733_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC9jY3BsdWdpbi5weQ== 100644
--- a/cubicweb_elasticsearch/ccplugin.py
+++ b/cubicweb_elasticsearch/ccplugin.py
@@ -115,7 +115,6 @@
                     # "doc_type" in kwargs bellow must be container data.
                     data = {'_op_type': 'index',
                             '_index': index_name or cnx.vreg.config['index-name'],
-                            '_type': json['cw_etype'],
                             '_id': serializer.es_id,
                             '_source': json
                             }