Browse Source

Bug 27299: Remove tokenization for phrase register/index with ICU

This patch removes tokenization for phrase register/index when
using ICU.

This should cause "exact" searches to work the same way with ICU
as they do with CHR.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
David Cook 2 years ago
committed by Jonathan Druart
parent
commit
7f9c909d5a
  1. 1
      etc/zebradb/etc/phrases-icu.xml

1
etc/zebradb/etc/phrases-icu.xml

@ -5,7 +5,6 @@
<transliterate rule="{ Æ > ae "/>
<!-- Remove control characters except \t\n\r -->
<transform rule="[\x00-\x08\x0B\x0C\x0E-\x1F\x7F] Any-Remove"/>
<tokenize rule="l"/>
<transform rule="[:Punctuation:] Remove"/>
<transform rule="NFD"/>
<transform rule="[:Nonspacing Mark:] Remove"/>

Loading…
Cancel
Save