Bugzilla – Attachment 35045 Details for
Bug 11927
Add greek support to CHR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11927 - Add greek to word-phrase-utf.chr
PASSED-QA-Bug-11927---Add-greek-to-word-phrase-utf.patch (text/plain), 2.52 KB, created by
Kyle M Hall (khall)
on 2015-01-09 12:23:45 UTC
(
hide
)
Description:
[PASSED QA] Bug 11927 - Add greek to word-phrase-utf.chr
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-01-09 12:23:45 UTC
Size:
2.52 KB
patch
obsolete
>From 4ccc04494e3d26fbdd038624e5ee41635f9da346 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 4 Dec 2014 15:20:29 +0100 >Subject: [PATCH] [PASSED QA] Bug 11927 - Add greek to word-phrase-utf.chr > >Add greek support in word-phrase-utf.chr for searching in a Greek catalog (it can also contain latin records). > >Developped in collaboration with Giannis Kourmoulis <ikourmou@lib.auth.gr> > >Test plan : >- Install using CHR zebra indexing >- Index a greek catalog >- Look for results with mixed uppercase, lowercase and diacritics in title > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > etc/zebradb/etc/word-phrase-utf.chr | 32 +++++++++++++++++++++++++++++--- > 1 files changed, 29 insertions(+), 3 deletions(-) > >diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr >index b773db8..6ef8952 100644 >--- a/etc/zebradb/etc/word-phrase-utf.chr >+++ b/etc/zebradb/etc/word-phrase-utf.chr >@@ -1,12 +1,12 @@ >-# Generic search equivanence character map for Latin languages (English, French, etc.) >+# Generic character map for Latin and Greek characters. > > # Define the basic value-set. *Beware* of changing this without re-indexing > # your databases. > encoding utf-8 > > # basic character set >-lowercase {0-9}{a-z} >-uppercase {0-9}{A-Z} >+lowercase {0-9}{a-z}αβγδεζηθικλμνξοÏÏÏÏÏÏÏÏÏ >+uppercase {0-9}{A-Z}ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎΠΡΣΤΥΦΧΨΩ > > # Breaking characters > space {\001-\040}!"#$%&'\()*+,-./:;<=>?@\[\\]^_`\{|}~â{\x88-\x89}{\x98-\x9C} >@@ -26,6 +26,14 @@ equivalent ëÄ(ee) > equivalent oóòõôÅǫȯÅÇÈÈ > equivalent ÅÅöø(oe) > equivalent Å(oo) >+equivalent αάÎÎ(αÎ)(ÎÎ) >+equivalent εÎÎÎ(εÎ)(ÎÎ) >+equivalent ιίÏÎÎΪ(ιÎ)(ÎÎ) >+equivalent ηήÎÎ(ηÎ)(ÎÎ) >+equivalent οÏÎÎ(οÎ)(ÎÎ) >+equivalent ÏÏÏÎ¥ÎΫ(ÏÎ)(Î¥Î) >+equivalent ÏÏΩÎ(ÏÎ)(ΩÎ) >+equivalent ΣÏÏ > > # Supplemental mappings > # mapping diacritics to plain ASCII >@@ -284,6 +292,24 @@ map à y > map É y > map É y > >+## mapping diacritics to plain on greek characters >+map ά α >+map Πα >+map Πε >+map Πε >+map ί ι >+map Πι >+map ή η >+map Πη >+map Ï Î¿ >+map Πο >+map Ï Ï >+map Î Ï >+map Ï Ï >+map Î Ï >+map Σ Ï >+map Σ Ï >+ > # mapping blank string > map (^impr\s) @ > map (^impr\.) @ >-- >1.7.2.5
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 11927
:
26165
|
26166
|
34118
|
34120
|
34121
|
34122
|
34123
|
34751
|
34752
|
34753
|
34754
|
35042
|
35043
|
35044
| 35045 |
35046
|
35446