@classmethod
    def attach_language_specific_analyzers(cls, mapping, field_names):
        doc_name = cls.get_doctype_name()

        for analyzer in SEARCH_ANALYZER_MAP:
            for field in field_names:
                property_name = '%s_%s' % (field, analyzer)
                mapping[doc_name]['properties'][property_name] = {
                    'type': 'string',
                    'analyzer': analyzer,
                }
For each field in field_names, attach language-specific mappings that
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/indexers.py/BaseSearchIndexer.attach_language_specific_analyzers