# HG changeset patch
# User Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
# Date 1539103465 -7200
#      Tue Oct 09 18:44:25 2018 +0200
# Node ID aa433579968ddbddef397f5b3769611420260301
# Parent  0d670a8ad890cadaa5a9e04b07c74f13ccba8733
[wip] es6 doesn't support multiple types anymore

diff --git a/cubicweb_elasticsearch/views.py b/cubicweb_elasticsearch/views.py
--- a/cubicweb_elasticsearch/views.py
+++ b/cubicweb_elasticsearch/views.py
@@ -160,11 +160,10 @@
         * use your own CWFacetedSearch class to modify fields
           and facets
         '''
-        indexable = indexable_types(self._cw.vreg.schema)
         return CWFacetedSearch(query_string,
                                facet_selections,
                                index=self._cw.vreg.config.get('index-name'),
-                               doc_types=indexable,
+                               doc_types=['_doc'],
                                form=self._cw.form,
                                **kwargs)[start:stop]