From b777a4836c55e366f3d47f26840651432ccc5e68 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 23 Aug 2010 12:21:42 +0100 Subject: [PATCH] Bug 5160 Stop words should be stop words not strings Content-Type: text/plain; charset="utf-8" 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