def execute(self):
        """
        Execute the search and return an instance of ``Response`` wrapping all
        the data.
        """
        es = connections.get_connection(self._using)

        self._response = self._response_class(
            self,
            es.update_by_query(
                index=self._index,
                body=self.to_dict(),
                **self._params
            )
        )
        return self._response
def execute ( self ) : es = connections . get_connection ( self . _using ) self . _response = self . _response_class ( self , es . update_by_query ( index = self . _index , body = self . to_dict ( ) , ** self . _params ) ) return self . _response
Execute the search and return an instance of ``Response`` wrapping all
        the data.