Skip to content

Commit

Permalink
Merge pull request #26 from MarkLark86/STTNHUB-331
Browse files Browse the repository at this point in the history
[STTNHUB-331] config: Set html_field_analyzer to use only lowercase filter
  • Loading branch information
petrjasek authored Mar 6, 2024
2 parents 2bb7013 + cb6c928 commit 04a6811
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -204,3 +205,5 @@
"name": lazy_gettext("Azure"),
"auth_type": AuthProviderType.SAML.value,
})

CONTENTAPI_ELASTICSEARCH_SETTINGS["settings"]["analysis"]["analyzer"]["html_field_analyzer"]["filter"] = ["lowercase"]

0 comments on commit 04a6811

Please sign in to comment.