def _with_analyzer(self, key, val, action):
        query, analyzer = val
        clause = {
            action: {
                key: {
                    'query': query,
                    'analyzer': analyzer,
                }
            }
        }

        boost = self.field_boosts.get(key)
        if boost is not None:
            clause[action][key]['boost'] = boost

        return clause
Do a normal kind of query, with a analyzer added.
dataset/ETHPy150Open mozilla/kitsune/kitsune/search/es_utils.py/AnalyzerMixin._with_analyzer