def __init__(self, results, path='', query='', ts=None, extra=None):
        if ts is None:
            ts = int(time.time())
        self.results = results
        self.path = path
        self.query = query
        self.ts = ts
        self.extra = extra or {}