[Koha-bugs] [Bug 6590] Removing hyphens from isbn and issn when cataloging a biblio
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 3 02:11:01 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6590
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #23 from David Cook <dcook at prosentient.com.au> ---
(In reply to Fridolin SOMERS from comment #21)
> In Biblibre Solr version of Koha, there are plugins that can be defined on
> (sub)fields to perform such operations before indexing. One exists for ISBN
> adding normalized and without hyphens forms.
>
> Note that when using ICU indexing, the hyphen is a special separator so
> search with or without hyphens matchs ISBN, even adding hyphens in random
> place.
I don't really understand ICU indexing, but it looks like there is a specific
transliteration rule in the master words-icu.xml for hyphens when they're
preceded by numbers:
http://userguide.icu-project.org/transforms/general#TOC-Context
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=etc/zebradb/etc/words-icu.xml;h=57498cbca4a3ea2c76399f424b792e3055dcea01;hb=HEAD
It looks to me that hyphens get removed...
But then as Colin Campbell points out, there is a problem searching using
hyphens when using ICU:
http://lists.indexdata.dk/pipermail/zebralist/2013-August/002576.html
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list