Stop words in the default zebra config were being defined as
initial strings not as words causing then to truncate legitimate
headings.

This patch corrects that behaviour. It does not address the
question of what should be in the default file
---
 etc/zebradb/etc/word-phrase-utf.chr |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/etc/zebradb/etc/word-phrase-utf.chr 
b/etc/zebradb/etc/word-phrase-utf.chr
index 3268c62..b41b298 100644
--- a/etc/zebradb/etc/word-phrase-utf.chr
+++ b/etc/zebradb/etc/word-phrase-utf.chr
@@ -252,27 +252,27 @@ map ý                     y
 map Ý                  y
 
 # mapping blank string
-map (^impr)         @
+map (^impr\s)       @
 map (^impr\.)       @
-map (^Impr)         @
+map (^Impr\s)       @
 map (^Impr\.)       @
-map (^IMPR)         @
+map (^IMPR\s)       @
 map (^IMPR\.)       @
-map (^DL)           @
+map (^DL\s)         @
 map (^DL\.)         @
-map (^Dl)           @
+map (^Dl\s)         @
 map (^Dl\.)         @
-map (^dl)           @
+map (^dl\s)         @
 map (^dl\.)         @
-map (^cop)          @
+map (^cop\s)        @
 map (^cop\.)        @
-map (^Cop)          @
+map (^Cop\s)        @
 map (^Cop\.)        @
-map (^COP)          @
+map (^COP\s)        @
 map (^COP\.)        @
-map (^c)            @
+map (^c\s)          @
 map (^c\.)          @
-map (^C)            @
+map (^C\s)          @
 map (^C\.)          @
 map (^\[sd\])       @
 map (^\[s\.d\.\])   @
-- 
1.7.2.1

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches

Reply via email to