From 7223eee6f6c6715c6b559ebeaee961296de39c09 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Sat, 31 Jan 2026 15:59:06 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Add=20asciifolding=20filter=20for=20Elastic?= =?UTF-8?q?Search=20analysis=20so=20we=20find=20'V=C3=A9zelay'=20when=20we?= =?UTF-8?q?=20look=20for=20'Vezelay'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/packages/fos_elastica.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/fos_elastica.yaml b/config/packages/fos_elastica.yaml index 0e1e57e1..7d2582da 100644 --- a/config/packages/fos_elastica.yaml +++ b/config/packages/fos_elastica.yaml @@ -74,7 +74,7 @@ fos_elastica: my_analyzer: type: custom tokenizer: standard - filter: [stop, lowercase, possessive_english_stemmer, 'english_stemmer'] + filter: [stop, lowercase, asciifolding, possessive_english_stemmer, 'english_stemmer'] char_filter: [html_strip] filter: possessive_english_stemmer: From 83aa78793731eda63df24772ea250fdb73ec875c Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Sat, 31 Jan 2026 16:03:55 +0000 Subject: [PATCH 2/2] Add asciifolding to the keyword normaliser, too --- config/packages/fos_elastica.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/fos_elastica.yaml b/config/packages/fos_elastica.yaml index 7d2582da..ed256532 100644 --- a/config/packages/fos_elastica.yaml +++ b/config/packages/fos_elastica.yaml @@ -69,7 +69,7 @@ fos_elastica: normalizer: keyword_normalizer: type: custom - filter: [lowercase] + filter: [lowercase, asciifolding] analyzer: my_analyzer: type: custom