def add_data(self, data):
        raise NotImplementedError()
The function that the elastalert client calls with results from ES.
dataset/ETHPy150Open Yelp/elastalert/elastalert/ruletypes.py/RuleType.add_data