From cd95bf7feaa4d985267c02ae1e16ab708ec7d32f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 13 Apr 2015 12:17:12 +0200 Subject: [PATCH] Bug 13981 - Transliterate rule for oe and ae NOTE : I use HTML codes for special characters to avoir encoding issues in patch file. In ICU configuration, add a transliterate rule for œ = oe æ = ae Test plan : - Without patch - Create a record R1 with title containing for example "cœur" - Create a record R2 with title containing for example "coeur" - Index those records - Search for "cœur" => You only find R1 - Search for "coeur" => You only find R2 - Apply patch - Restart zebra - Index R1 and R2 - Search for "cœur" => You find R1 and R2 - Search for "coeur" => You find R1 and R2 (Same test plan for ae) --- etc/zebradb/etc/phrases-icu.xml | 4 ++++ etc/zebradb/etc/words-icu.xml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/etc/zebradb/etc/phrases-icu.xml b/etc/zebradb/etc/phrases-icu.xml index 076c5ac..69cc124 100644 --- a/etc/zebradb/etc/phrases-icu.xml +++ b/etc/zebradb/etc/phrases-icu.xml @@ -1,4 +1,8 @@ + + + + diff --git a/etc/zebradb/etc/words-icu.xml b/etc/zebradb/etc/words-icu.xml index 57498cb..1015688 100644 --- a/etc/zebradb/etc/words-icu.xml +++ b/etc/zebradb/etc/words-icu.xml @@ -1,4 +1,8 @@ + + + + -- 2.1.0