diff --git a/server/settings.py b/server/settings.py index fe9f89a..ce64d0a 100644 --- a/server/settings.py +++ b/server/settings.py @@ -5,6 +5,7 @@ from newsroom.types import AuthProviderType from newsroom.web.default_settings import ( ELASTICSEARCH_SETTINGS, + CONTENTAPI_ELASTICSEARCH_SETTINGS, BLUEPRINTS as DEFAULT_BLUEPRINT, CORE_APPS as DEFAULT_CORE_APPS, CELERY_BEAT_SCHEDULE as CELERY_BEAT_SCHEDULE_DEFAULT, @@ -204,3 +205,5 @@ "name": lazy_gettext("Azure"), "auth_type": AuthProviderType.SAML.value, }) + +CONTENTAPI_ELASTICSEARCH_SETTINGS["settings"]["analysis"]["analyzer"]["html_field_analyzer"]["filter"] = ["lowercase"]