diff --git a/cubicweb_elasticsearch/views.py b/cubicweb_elasticsearch/views.py index 0d670a8ad890cadaa5a9e04b07c74f13ccba8733_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC92aWV3cy5weQ==..aa433579968ddbddef397f5b3769611420260301_Y3ViaWN3ZWJfZWxhc3RpY3NlYXJjaC92aWV3cy5weQ== 100644 --- a/cubicweb_elasticsearch/views.py +++ b/cubicweb_elasticsearch/views.py @@ -160,7 +160,6 @@ * 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'), @@ -164,7 +163,7 @@ 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]