def METHOD_NAME(self):
    domain = self.request.domain
    query = self.data.get('searchString')
    return [
        {'id': result[0], 'text': result[1]}
        for result in search_case_groups_in_domain(domain, query, limit=10)
    ]