[Koha-bugs] [Bug 14401] New: Zebra index configuration doesn't allow exact search for 'C.'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 12:31:44 CEST 2015


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: gmcharlt at gmail.com
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at 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.


More information about the Koha-bugs mailing list