    def text_search(self, search, *, limit=0, table='assets'):
        """Return an iterator of assets that match the text search

        Args:
            search (str): Text search string to query the text index
            limit (int, optional): Limit the number of returned documents.

        Returns:
            iter: An iterator of assets that match the text search.
        """
        return backend.query.text_search(self.connection, search, limit=limit,
                                         table=table)
Return an iterator of assets that match the text search

Args:
search (str): Text search string to query the text index
limit (int, optional): Limit the number of returned documents.

Returns:
iter: An iterator of assets that match the text search.
bigchaindb/lib.py