Bugzilla – Attachment 4966 Details for
Bug 2629
Diacritics not being ignored when searching
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 2629: add char-with-stroke support to word-phrase-utf.chr
SIGNED-OFF-Bug-2629-add-char-with-stroke-support-t.patch (text/plain), 3.17 KB, created by
Katrin Fischer
on 2011-08-11 15:39:49 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 2629: add char-with-stroke support to word-phrase-utf.chr
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-08-11 15:39:49 UTC
Size:
3.17 KB
patch
obsolete
>From 879980c41f4d46d4238a04556ef5c5c3767606d0 Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Thu, 21 Jul 2011 10:48:33 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 2629: add char-with-stroke support to word-phrase-utf.chr >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit >Content-Type: text/plain; charset="utf-8" > >This patch adds diacritic search support for the following characters-with-stroke: >a,b,c,d,e,h,l,r,t,u,y,z > >Handles both uppercase and lowercase mappings. > >Also corrects a note in word-phrase-utf.chr: the 'equivalent' command is NOT for searching, >but rather for sorting. See Zebra manual: http://www.indexdata.com/zebra/doc/character-map-files.html, >near the bottom. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> > >Some notes: >- Copied the file to my koha-dev folder and reindexed >- Tried some simple searches like: Süden and Suden, schon und schön with success >- Added some of the new characters to a record and tried search with and > without diacritics (ɨÆÊâ±¥ÉÉ and iiuaer) with success. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > etc/zebradb/etc/word-phrase-utf.chr | 27 ++++++++++++++++++++++++++- > 1 files changed, 26 insertions(+), 1 deletions(-) > >diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr >index b41b298..e0e2297 100644 >--- a/etc/zebradb/etc/word-phrase-utf.chr >+++ b/etc/zebradb/etc/word-phrase-utf.chr >@@ -11,7 +11,7 @@ uppercase {0-9}{A-Z} > # Breaking characters > space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~â > >-# Characters to be considered equivalent for searching purposes >+# Characters to be considered equivalent for sorting purposes > equivalent aáà ãåâÄÄȧÇÈÈ > equivalent Óä(ae) > equivalent Ä(aa) >@@ -56,6 +56,8 @@ map È a > map È a > map È a > map È a >+map â±¥ a >+map Ⱥ a > # AE > map Ó (ae) > map Ó (ae) >@@ -84,6 +86,8 @@ map È i > map È i > map È i > map È i >+map ɨ i >+map Æ i > # U > map Å« u > map Ū u >@@ -109,6 +113,8 @@ map È u > map È u > map È u > map È u >+map Ê u >+map É u > # E > map ê e > map à e >@@ -134,6 +140,8 @@ map È e > map È e > map È e > map È e >+map É e >+map É e > # O > map ô o > map à o >@@ -175,6 +183,8 @@ map á¹ r > map Å r > map Å r > map á¹ r >+map É r >+map É r > # L > map ḷ l > map Ḷ l >@@ -182,6 +192,9 @@ map ḹ l > map Ḹ l > map ḻ l > map Ḻ l >+map Å l >+map Å l >+ > # N > map á¹ n > map á¹ n >@@ -198,9 +211,13 @@ map á¹ n > # T > map á¹ t > map Ṭ t >+map ŧ t >+map Ŧ t > # D > map Ḡd > map Ḡd >+map Ä d >+map Ä d > # S > map Å s > map Å s >@@ -221,6 +238,8 @@ map á¹ m > map ḥ h > map Ḥ h > map Ạh >+map ħ h >+map Ħ h > # Z > map ź z > map Ź z >@@ -228,6 +247,8 @@ map Ạz > map Ạz > map ż z > map Å» z >+map ƶ z >+map Ƶ z > #C > map ç c > map à c >@@ -235,6 +256,8 @@ map Ä c > map Ä c > map Ä c > map Ä c >+map ȼ c >+map È» c > # G > map Ç¥ g > map Ǥ g >@@ -250,6 +273,8 @@ map Ḵ k > # Y > map ý y > map à y >+map É y >+map É y > > # mapping blank string > map (^impr\s) @ >-- >1.7.4.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 2629
:
4701
|
4966
|
5599
|
6171
|
6460
|
6471
|
6945
|
6946
|
6996
|
12385