http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14401

            Bug ID: 14401
           Summary: Zebra index configuration doesn't allow exact search
                    for 'C.'
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: gmcha...@gmail.com
          Reporter: katrin.fisc...@bsz-bw.de
        QA Contact: testo...@bugs.koha-community.org

This has been reported by a library that uses [A-Z]. for call numbers. Every
character in the alphabet can be searched perfectly fine using
callnum,ext:[A-Z]. - except for C.

After taking a look at the  /etc/zebradb/etc/word-phrase-utf.chr those 2 lines
are to blame for the problem:

333 map (^c\.)          @
335 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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to