Bugzilla – Attachment 2559 Details for
Bug 5160
Default Zebra configuration : map lines in word-phrase-utf.chr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-Bug-5160-Stop-words-should-be-stop-words-not-strings.patch (text/plain), 1.69 KB, created by
Colin Campbell
on 2010-08-23 12:01:06 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2010-08-23 12:01:06 UTC
Size:
1.69 KB
patch
obsolete
>From b777a4836c55e366f3d47f26840651432ccc5e68 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >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 >
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 5160
: 2559