def _clone(self):
    s = self.__class__(using=self._using, index=self._index, doc_type=self._doc_type)
    s._doc_type_map = self._doc_type_map.copy()
    s._extra = self._extra.copy()
    s._params = self._params.copy()
    return s
def _clone(self):
    s = self.__class__(using=self._using, index=self._index, doc_type=self._doc_type)
    s._doc_type_map = self._doc_type_map.copy()
    s._extra = self._extra.copy()
    s._params = self._params.copy()
    return s