Bugzilla – Attachment 40238 Details for
Bug 14401
Zebra index configuration doesn't allow exact search for 'C.'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14401: Zebra index configuration doesn't allow exact search for C.
Bug-14401-Zebra-index-configuration-doesnt-allow-e.patch (text/plain), 1.49 KB, created by
Katrin Fischer
on 2015-06-17 12:51:56 UTC
(
hide
)
Description:
Bug 14401: Zebra index configuration doesn't allow exact search for C.
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-06-17 12:51:56 UTC
Size:
1.49 KB
patch
obsolete
>From 16f79244bb209ed0d15c9fb6813e103c2fd5787b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Wed, 17 Jun 2015 12:28:39 +0200 >Subject: [PATCH] Bug 14401: Zebra index configuration doesn't allow exact > search for C. > >2 lines in the Zebra configuration files prevent an exact search for C., >while all other [A-Z]. searches work correctly. > >After taking a look at the /etc/zebradb/etc/word-phrase-utf.chr >those 2 lines cause the problem: > >map (^c\.) @ >map (^C\.) @ > >I propose to remove them. > >To test: >- Catalog a record with an item with callnumber: C. >- Catalog a record with an item with callnumber: B. >- Try seaching for the second using callnum,ext:B. (exact field search) > - Verify search works. >- Try searching for the other with callnum,ext:C. > - Verify no result. >- Apply the patch - copy the zebra config file if necessary into the right spot >- Reindex >- Repeat searches - both should not bring up the correct record. >--- > etc/zebradb/etc/word-phrase-utf.chr | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr >index 2e872a7..807a0e5 100644 >--- a/etc/zebradb/etc/word-phrase-utf.chr >+++ b/etc/zebradb/etc/word-phrase-utf.chr >@@ -330,9 +330,7 @@ map (^Cop\.) @ > map (^COP\s) @ > map (^COP\.) @ > map (^c\s) @ >-map (^c\.) @ > map (^C\s) @ >-map (^C\.) @ > map (^\[sd\]) @ > map (^\[s\.d\.\]) @ > map (^\[Sd\]) @ >-- >1.7.10.4
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 14401
:
40238
|
40243
|
40389