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.
Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| default.idx | ||
| explain.abs | ||
| explain.att | ||
| explain.tag | ||
| gils.att | ||
| marc21.mar | ||
| normarc.mar | ||
| numeric.chr | ||
| passwd | ||
| phrases-icu.xml | ||
| tagsetm.tag | ||
| unimarc.mar | ||
| urx.chr | ||
| usmarc.mar | ||
| word-phrase-utf.chr | ||
| words-icu.xml | ||