def apply(self, search, field, value):
        """Apply lookup expression to search query."""
        # We assume that the field in question has a "raw" counterpart.
        return search.query('match', **{'{}.raw'.format(field): value})